Feb-16-2022, 05:03 PM
First, post code within Python tags (use the Python button) to keep the indentation and add highlighting, etc.
Second, please post the entire traceback verbatim - it contains information about where the error occurred.
Third, is that all the code? There doesn't appear to be any recursion. Having said that, why are you assigning
Second, please post the entire traceback verbatim - it contains information about where the error occurred.
Third, is that all the code? There doesn't appear to be any recursion. Having said that, why are you assigning
df.groupby
to your data frame? That seems.. odd to say the least.