In [1]:
import pandas as pd
import numpy as np
%matplotlib inline
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
import cufflinks as cf
init_notebook_mode(connected=True)
cf.go_offline()
In [2]:
df1 = pd.DataFrame(np.random.randn(100,4),columns='A B C D'.split())
df2 = pd.DataFrame({'Category':['A','B','C'],'Values':[32,43,50]})
In [13]:
df1.iplot(kind='hist',bins=25)
In [10]:
df1[['A','B']].iplot(kind='spread')
In [11]:
df1.iplot(kind='spread')
In [12]:
df1.iplot(kind='bubble',x='A',y='B',size='C')
No comments:
Post a Comment