mwouts / itables

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

Fix the rendering of empty Polars DataFrames #167

Closed mwouts closed 1 year ago

mwouts commented 1 year ago

Small fix to fix the rendering of empty Polars DataFrames.

Before: table loading

Now: image

codecov-commenter commented 1 year ago

Codecov Report

Merging #167 (988ce55) into main (8147bf5) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #167   +/-   ##
=======================================
  Coverage   97.23%   97.23%           
=======================================
  Files          24       24           
  Lines         831      833    +2     
=======================================
+ Hits          808      810    +2     
  Misses         23       23           
Impacted Files Coverage Δ
itables/javascript.py 94.11% <100.00%> (+0.05%) :arrow_up:
itables/version.py 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more