-
-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Labels
Master TrackerHigh level tracker for similar issuesHigh level tracker for similar issues
Description
This is the list of things that are in pandas 2.3 release notes that need to be addressed in pandas-stubs. I have removed the sections Performance improvements and Bug fixes.
PR's welcome. If you do a PR, check off the item and put a link to the PR that closed it. One PR can address multiple issues.
Some of these may already have been taken care of, so if so, check them off and indicate with a comment such as "previously complete"
Upcoming changes in pandas 3.0
- Dedicated string data type by default
- Copy-on-Write
Enhancements
-
pandas.api.interchange.from_dataframenow uses thePyCapsule Interface <https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html>_ if available, only falling back to the Dataframe Interchange Protocol if that fails (ENH:pandas.api.interchange.from_dataframenow uses the Arrow PyCapsule Interface if available, only falling back to the Dataframe Interchange Protocol if that fails pandas#60739) - The semantics for the
copykeyword in__array__methods (i.e. called
when usingnp.array()ornp.asarray()on pandas objects) has been
updated to work correctly with NumPy >= 2 (COMPAT: Utilizecopykeyword in__array__pandas#57739)- Irrelevant to stubs
-
Series.str.decoderesult now hasStringDtypewhenfuture.infer_stringis True (ENH(string dtype): Make str.decode return str dtype pandas#60709) -
~Series.to_hdfand~DataFrame.to_hdfnow round-trip withStringDtype(ENH: Enable pytables to round-trip with StringDtype pandas#60663) - Improved
reprof.NumpyExtensionArrayto account for NEP51 (DEPS: Update NumpyExtensionArray repr for NEP51 pandas#61085) - The
Series.str.decodehas gained the argumentdtypeto control the dtype of the result (ENH: Add dtype argument to str.decode pandas#60940) - The
~Series.cumsum,~Series.cummin, and~Series.cummaxreductions are now implemented forStringDtypecolumns (ENH: Implement cum* methods for PyArrow strings pandas#60633) - The
~Series.sumreduction is now implemented forStringDtypecolumns (String dtype: implement sum reduction pandas#59853)
Deprecations
- Deprecated allowing non-
boolvalues fornain.str.contains,.str.startswith, and.str.endswithfor dtypes that do not already disallow these (DEPR (string): non-bool na for obj.str.contains pandas#59615) - Deprecated the
"pyarrow_numpy"storage option forStringDtype(String dtype: deprecate the pyarrow_numpy storage option pandas#60152)
Metadata
Metadata
Assignees
Labels
Master TrackerHigh level tracker for similar issuesHigh level tracker for similar issues