Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

plotting a bar chart with pandas

df = pd.DataFrame({'lab':['A', 'B', 'C'], 'val':[10, 30, 20]})
ax = df.plot.bar(x='lab', y='val', rot=0)
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #plotting #bar #chart #pandas
ADD COMMENT
Topic
Name
2+4 =