Skip to content

ENH: add dataframe render trimming in Styler to avoid browser crash #40712

Closed
@attack68

Description

@attack68

DataFrame.to_html has max rows and max cols to automatically trim the console or string output.

DataFrame.styler.render does not and with large DataFrames this can potentially crash the browser of a Jupyter Notebook, or maybe a console.

Personally, I use Styler occasionally to quickly avoid the reasonably small max values in the former and this I would want to keep, but some tolerable, larger limit should be imposed in my opinion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugStylerconditional formatting using DataFrame.style

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions