How to Transpose dataframe with custom output? [closed]
-
12-12-2020 - |
Solution
df.pivot_table(values='Confirmed',index['state','State_name'],columns='date',aggfunc='sum')
Licensed under: CC-BY-SA with attribution
Not affiliated with datascience.stackexchange