Answers for "groupby graph python"

0

how plot graph by using group by function in python

#plot data
fig, ax = plt.subplots(figsize=(15,7))
data.groupby(['date','type']).count()['amount'].plot(ax=ax)
Posted by: Guest on May-30-2020
0

Pandas groupby

>>> emp.groupby(['dept', 'gender']).agg({'salary':'mean'}).round(-3)
Posted by: Guest on August-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language