mwouts / itables

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

Displaying large tables takes too long #113

Closed mwouts closed 1 year ago

mwouts commented 1 year ago

This is probably because the memory used by the table is computed using df.values.nbytes, which empirically seems to take a much longer time than sum(df[col].values.nbytes for col in df.columns).

mwouts commented 1 year ago

The new version is significantly faster: 3.45 milliseconds vs 1.38 seconds image