import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from plotly.offline import download_plotlyjs,init_notebook_mode,plot,iplot
init_notebook_mode(connected=True)
import cufflinks as cf
df = pd.DataFrame(data=np.random.rand(4,4),columns = ‘A B C D’.split())
df2 = pd.DataFrame({‘category’:[‘S’,‘R’,‘Q’,‘T’],‘values’:[12,23,45,3]})
print(df)
print(df2)
df.iplot(’_raj99@plot.ly’)
plt.show()