Skip to content Skip to sidebar Skip to footer

Python Valueerror: Duplicated Level Name: "reported_date", Assigned To Level 1, Is Already Used For Level 0

i am trying to group by dataframe based on weekday and year from its datetime column. my data looks like: and here is very sample code: #Measuring crime by weekday and year import

Solution 1:

This is an issue with pandas version.

Github issue

A workaround solution is suggested by jschendel in the post below kindly have a look

Workaround solution

Post a Comment for "Python Valueerror: Duplicated Level Name: "reported_date", Assigned To Level 1, Is Already Used For Level 0"