I'm have a pandas dataframe with : Branch, Year, Month, Week, Assignments, Sales Volume
I copied your format="%Y-%m" in the hope to get the same formatted datetime.. but no. In the following I will show you my code and the result of my formatted datetime column:
and this is my new year month datetime column:
I dont know why I am getting additional to my year and month the day...
Thank you in advance.
Problem is solved many thanks to everybody for his help:
Monty/Year and Week/Year Columns are working:
Greeting LittleStudent



