mwouts / itables

Pandas DataFrames as Interactive DataTables
https://mwouts.github.io/itables/
MIT License
740 stars 55 forks source link

solve bug caused by df with duplicated columns name #89

Closed antocommi closed 1 year ago

antocommi commented 1 year ago

In my project i use sql statements in order to obtain pandas dataframes. In one queries I selected two columns with the same name from different tables and I got this error:

Screenshot 2022-08-10 at 18 12 17

I changed the indexing method to avoid this kind of behaviour caused by pandas.

mwouts commented 1 year ago

Thank you Antonio, oh yes I see! I will prepare a new release with this asap.