machow / reactable-py

https://machow.github.io/reactable-py/
43 stars 2 forks source link

ImportError: cannot import name 'subset_frame' from 'great_tables._tbl_data' #18

Closed kamleshmj07 closed 2 months ago

kamleshmj07 commented 2 months ago

I am trying to run this example from the documentation. I am getting this error below, is this some issue? Is there a specific great tables version that needs to be installed?

from reactable import Reactable, embed_css
from reactable.data import cars_93

Reactable(
    cars_93.to_polars(),
    default_page_size=5,
)

My requirements.txt looks like below: reactable==0.1.0 polars==1.7.0 great_tables

machow commented 2 months ago

Shoot sorry -- I've released the fix in v0.1.1. (the necessary functions are now vendored directly into reactable-py)

machow commented 2 months ago

should be resolved in v0.1.1, but definitely let me know if you run into this issue again