Skip to content

Conversation

jorisvandenbossche
Copy link
Member

Closes #58581

The current PR simply removes the warning altogether, but now we have the "mode.performance_warnings" option, we could in theory also keep the warnings as long as they are not enabled by default.
However, the performance warnings option right now is still on by default. So if we want to do this right now (keep the string fallback warnings but not enabled by default), we would need to change that default to something like None which then means True/False depending on the case .. (cc @rhshadrach)

xref #54792

@jorisvandenbossche jorisvandenbossche added the Strings String extension data type and string data label Sep 9, 2024
@mroeschke mroeschke added this to the 2.3 milestone Sep 9, 2024
@rhshadrach
Copy link
Member

My preference would be a simple Boolean show all vs show none (ref: #55385 (comment)). In any case, showing warnings when the user has no viable path of better performance doesn't seem appropriate. This looks good to me.

@jorisvandenbossche
Copy link
Member Author

OK, sounds good, let's then simply remove those for now.

@jorisvandenbossche jorisvandenbossche merged commit de51d33 into pandas-dev:main Sep 10, 2024
47 checks passed
@jorisvandenbossche jorisvandenbossche deleted the string-dtype-remove-fallback-perf-warnings branch September 10, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported Strings String extension data type and string data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default string dtype should not raise fallback performance warnings

3 participants