I have a dataframe with the birthdays of the users of specific clients in a dataframe, and i want to
count occurences per month, but also per client, so in the end id have all the occurences of birthdates per month for client #1, all the occurences of birthdates per month for client #2 etc..., similarly to what is described in this question in which they suggest using this:
df.groupby([df['birthdate'].dt.year.rename('year'), df['birthdate'].dt.month.rename('month')]).agg({'count'})
for a scenario where one wants to count the birthdays per month (not also per client).
How could i go about doing this?