You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This page currently mentions object dtype vs nullable StringDtype, some differences, and then shows most examples using dtype="string".
We should update that page to reflect that there is now a default "str" dtype, add a historical note about object dtype being the default before pandas 3.0 (and that you can still encounter this, and then how to convert to str dtype; and refer to the upgrade guide), mention the differences of "str" vs "string" dtype, etc
The text was updated successfully, but these errors were encountered:
@jorisvandenbossche@mroeschke Should all instances of dtype="string" in the documentation be changed to dtype="str" to align with the new default string dtype in pandas 3.0?
Should all instances of dtype="string" in the documentation be changed to dtype="str" to align with the new default string dtype in pandas 3.0?
Not blindly all of them, because in some places it might be explaining something explicitly about the nullable "string" version. But where it is in general about string data, I think indeed it can be changed.
Should all instances of dtype="string" in the documentation be changed to dtype="str" to align with the new default string dtype in pandas 3.0?
Not blindly all of them, because in some places it might be explaining something explicitly about the nullable "string" version. But where it is in general about string data, I think indeed it can be changed.
With the new default string dtype in pandas 3.0, we should update the documentation to properly reflect this. The main page about working with string data is https://pandas.pydata.org/pandas-docs/version/2.2/user_guide/text.html
This page currently mentions
object
dtype vs nullableStringDtype
, some differences, and then shows most examples usingdtype="string"
.We should update that page to reflect that there is now a default
"str"
dtype, add a historical note aboutobject
dtype being the default before pandas 3.0 (and that you can still encounter this, and then how to convert to str dtype; and refer to the upgrade guide), mention the differences of "str" vs "string" dtype, etcThe text was updated successfully, but these errors were encountered: