Skip to content
Advertisement

for loop count monthly total python

I have a data and here has some date time.

like this:

JavaScript

I need to count monthly total so I do something like this

my code is:

JavaScript

And her is my output:

JavaScript

But I need the total count month by month now.

expected output:

JavaScript

Thanks in advance

Advertisement

Answer

this is not the exact solution you want but hope this will help you to find a solution

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement