+ 1
df[df['month']==12]['cases'].plot() why in the beginning two dfs are there ?
Matplotlib
4 Antworten
+ 2
Suraj kumar 
Outer df is for cases
Inner df is for month
BTW df is only one but month and cases are row and columns
df means dataframe which gives you data in matrix format.
Print df you will get data in matrix format
First we get month using df['month'] so if it is 12 then we get cases of that month.
+ 2
Suraj kumar 
One to compare month and another to get data of cases on the comparison of month.
+ 1
Okk Thank you
0
Which df is for cases ?



