mwouts / itables

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

Add support for Ibis #217

Open mwouts opened 5 months ago

mwouts commented 5 months ago

Will eventually close #215

cpcloud commented 4 months ago

@mwouts Happy to take a look per your comment about hints. Are there any specific questions I can answer?

mwouts commented 4 months ago

Thanks @cpcloud ! Yes for now I have three questions:

  1. Do you see how we could set an _repr_html_ attribute on the ibis objects? My attempt above was not effective
  2. I would need a way to estimate the number of bytes in the tables. This can be an approximation (I will use that to downsample the table if its too large to be displayed in full).
  3. How can I access the table data? I need to pass a JSON representation of the table elements (list of list, inner lists are rows) to the datatables-net library.