Skip to content

ENH: Allow users to disable PerformanceWarning #56920

Closed
@rhshadrach

Description

@rhshadrach

Part of the way toward #55385. Even if we decide not to implement #55385 (i.e. performance warnings are disabled by default), I think this is a good option for users to have.

I propose adding an option, mode.performance_warnings defaulting to True, that users could set to False to disable all PerformanceWarnings from being raised. The difference between this and #55385 is just changing the default value.

I opened #56921 to show the implementation.

Would like to get feedback on the general idea and happy to bikeshed the option name. Since this is impacts many places, cc @pandas-dev/pandas-core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNeeds DiscussionRequires discussion from core team before further actionWarningsWarnings that appear or should be added to pandas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions