great-tables
great-tables copied to clipboard
I've run example on README.md and nothing happens
Prework
- [x] Read and agree to the code of conduct and contributing guidelines.
- [x] If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
Question
I've run example on README.md and nothing happens. Is the table shown on screen or saved on some file?
My environment is macOS Ventura Version 13.5.2, Python 3.10.8+
What version do you have installed? There's a bug with cols_hide that we fixed, and still need to release.
In jupyter lab, quarto, etc.. it should show a fully rendered table. Here's the example from the readme with cols_hide commented out:
https://shinylive.io/py/editor/#code=NobwRAdghgtgpmAXGKAHVA6VBPMAaMAYwHsIAXOcpMASxlWICcyACAZwAsaJsM4APVIzhs2AHQgS6DZiwDmwqGQD6ZKACMANiJZQ28shIBmjYjHmKVarSIwATJVBbSmrNqgCsABi8SJAYhYAETgjbjgWMg4ItjVZKAg7Fkokhwp9IyZI6JY0p0YEuTgJWKhmZTSIgF4WMTAAJi8ARi8AWi8ANnaAdjqJFIqlatqG5rbO1qaAFj7JCECAMRpNCkZ2Tx8WAFc2bjkWAAUEh30yYlyh-XU4MgB3OEoWAANS8sqn3UTngfeSja9lDBuDQWDV3N4vMAABTgnzAOqVOoAXRYAD4wXEVJUAJQsABkLBh-3hYERYBRAB4aj8htikX55iwAMKWCJOOw0dyaKDYSIabQsdR6OBJUjZCIvf6A4EfawCvISKESFgqgwYADiABUoXkqrCAUCIDRscrVRhrMpolA7HBGFCyDQyNoqnUAMp4g4sCF1PDsLbqB1OuBVIx1ECvLFDAC+kXOIBpFCjdRNEFVLAwRhgKkIW0YwgghGwUJImi2MAgbCqJOIqEoPpGXDkHHrdU0xFuLaIbbYxXJKbTGazgwoxeIpfLlYRQ3rlWUsWwzrqtzsgMG2GU2DgZWTppVg5UEDL1ztJbLFZdYAAbmOy73fSR6FBCGQqprGFs4P3Vf4MCW2JaaBtUdx3POprQAK2UQhu17FMUzAKM8HAaB4GoYQAEcthoYR4HINhzX4Mh8CIUgKCoZAFC3MhWjlEQEKRIA
Ah, but if you run it in the console or as part as a .py file (e.g. python myfile.py
) it won't render a formatted table.
(but you can return formatted html with gt_obj.render("html"))
I've installed great-tables by pip install great-tables
, the version is 0.1.3.
I've copied the example code to a .py file and run it in console
This is a duplicate of #100, which should be resolved soon. Closing this one.