Skip to content

Commit f297a69

Browse files
add note
1 parent 0287fbd commit f297a69

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/source/user_guide/migration-3-strings.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ enable it with:
2020
2121
This allows you to test your code before the final 3.0 release.
2222

23+
.. note::
24+
25+
This migration guide focuses on the changes and migration steps needed when
26+
you are currently using ``object`` dtype for string data, which is used by
27+
default in pandas < 3.0. If you are already using one of the opt-in string
28+
dtypes, you can continue to do so without change.
29+
See :ref:`string_migration_guide-for_existing_users` for more details.
30+
2331
Background
2432
----------
2533

@@ -457,6 +465,9 @@ raise an error regardless of the number of strings:
457465
...
458466
TypeError: Cannot perform reduction 'prod' with string dtype
459467
468+
469+
.. _string_migration_guide-for_existing_users:
470+
460471
For existing users of the nullable ``StringDtype``
461472
--------------------------------------------------
462473

0 commit comments

Comments
 (0)