-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showing Pandas DataFrame crashes marimo #339
Comments
@noeleont, thanks for reporting! The code for how dataframes are formatted is here: https://github.com/marimo-team/marimo/blob/main/marimo/_output/formatters/pandas_formatters.py#L21-L27 You'll see we just call I like your suggestion to truncate or show the head/tail only for sufficiently large dataframes. If you'd like you're more than welcome to make a PR, otherwise I'm happy to do it! |
@akshayka, thanks for your fast response :) |
@noeleont, |
Describe the bug
When I display a DataFrame with a lot of rows, e.g. California housing dataset directly, marimo is getting really unresponsive.
I would expect to add a pagination or show the first and last few rows (like Jupyter does).
If you can point me in the right direction, I'm happy to help!
Version
0.1.47
Code to reproduce
The text was updated successfully, but these errors were encountered: