xxxxxxxxxx
import pandas,seaborn,pylab
pylab.style.use('ggplot')
user='https://raw.githubusercontent.com/OlgaBelitskaya/'
path1='machine_learning_engineer_nd009/'
path2='master/Machine_Learning_Engineer_ND_P3/'
data=pandas.read_csv(user+path1+path2+'customers.csv')
data.drop(['Region','Channel'],axis=1,inplace=True)
data.plot.area(stacked=False,figsize=(6.5,5))
pylab.title('Data Values by Product Categories')
pylab.grid(); pylab.show()
No comments:
Post a Comment