I had some problems trying running the code. When i tried to execute the example code, i got the error: "AttributeError: 'list' object has no attribute 'to_dict'"
I then added the code: "grouped_columns = pd.DataFrame(grouped_columns.tolist(), index=grouped_columns.index).T" A little work around, but the code act as expected now and gives the same output as in the example shown in the repo.
I had some problems trying running the code. When i tried to execute the example code, i got the error: "AttributeError: 'list' object has no attribute 'to_dict'"
I then added the code: "grouped_columns = pd.DataFrame(grouped_columns.tolist(), index=grouped_columns.index).T" A little work around, but the code act as expected now and gives the same output as in the example shown in the repo.