-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Support uncertainties as EA Dtype #53970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 14 commits
4c04e30
a165278
0b833aa
2a1913b
7d8ba79
8ada662
42ff1a8
e53a62c
b8083a9
93be04f
ed69055
65cf17a
2f92811
e572b3d
2964f44
6644fe0
c9e0de3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,6 +141,7 @@ Other enhancements | |
- :meth:`MultiIndex.sortlevel` and :meth:`Index.sortlevel` gained a new keyword ``na_position`` (:issue:`51612`) | ||
- :meth:`arrays.DatetimeArray.map`, :meth:`arrays.TimedeltaArray.map` and :meth:`arrays.PeriodArray.map` can now take a ``na_action`` argument (:issue:`51644`) | ||
- :meth:`arrays.SparseArray.map` now supports ``na_action`` (:issue:`52096`). | ||
- :meth:`arrays.BaseMaskedArray.take` handle non-na float as fill value (triggered by ``ufloat`` NaN from ``uncertainties`` package) (see `PR <https://github.com/pandas-dev/pandas/pull/53970>`_) | ||
- :meth:`pandas.read_html` now supports the ``storage_options`` keyword when used with a URL, allowing users to add headers the outbound HTTP request (:issue:`49944`) | ||
- Add :meth:`diff()` and :meth:`round()` for :class:`Index` (:issue:`19708`) | ||
- Add dtype of categories to ``repr`` information of :class:`CategoricalDtype` (:issue:`52179`) | ||
|
@@ -160,6 +161,7 @@ Other enhancements | |
- :meth:`DataFrame.stack` gained the ``sort`` keyword to dictate whether the resulting :class:`MultiIndex` levels are sorted (:issue:`15105`) | ||
- :meth:`DataFrame.unstack` gained the ``sort`` keyword to dictate whether the resulting :class:`MultiIndex` levels are sorted (:issue:`15105`) | ||
- :meth:`DataFrameGroupby.agg` and :meth:`DataFrameGroupby.transform` now support grouping by multiple keys when the index is not a :class:`MultiIndex` for ``engine="numba"`` (:issue:`53486`) | ||
- :meth:`GroupBy.first` if series contains only NA values (which might be NaN), return the first NA value, else return np.nan (see `PR <https://github.com/pandas-dev/pandas/pull/53970>`_) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure what this is decribing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is describing a change of behavior of the |
||
- :meth:`Series.explode` now supports pyarrow-backed list types (:issue:`53602`) | ||
- :meth:`Series.str.join` now supports ``ArrowDtype(pa.string())`` (:issue:`53646`) | ||
- :meth:`SeriesGroupby.agg` and :meth:`DataFrameGroupby.agg` now support passing in multiple functions for ``engine="numba"`` (:issue:`53486`) | ||
|
@@ -447,6 +449,7 @@ Datetimelike | |
- Bug in constructing a :class:`Timestamp` with ``ts_input=pd.NA`` raising ``TypeError`` (:issue:`45481`) | ||
- Bug in parsing datetime strings with weekday but no day e.g. "2023 Sept Thu" incorrectly raising ``AttributeError`` instead of ``ValueError`` (:issue:`52659`) | ||
|
||
|
||
Timedelta | ||
^^^^^^^^^ | ||
- :meth:`TimedeltaIndex.map` with ``na_action="ignore"`` now works as expected (:issue:`51644`) | ||
|
@@ -487,6 +490,7 @@ Conversion | |
- Bug in :meth:`DataFrame.info` raising ``ValueError`` when ``use_numba`` is set (:issue:`51922`) | ||
- Bug in :meth:`DataFrame.insert` raising ``TypeError`` if ``loc`` is ``np.int64`` (:issue:`53193`) | ||
- Bug in :meth:`HDFStore.select` loses precision of large int when stored and retrieved (:issue:`54186`) | ||
- | ||
jbrockmendel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Strings | ||
^^^^^^^ | ||
|
@@ -497,6 +501,7 @@ Interval | |
^^^^^^^^ | ||
- :meth:`pd.IntervalIndex.get_indexer` and :meth:`pd.IntervalIndex.get_indexer_nonunique` raising if ``target`` is read-only array (:issue:`53703`) | ||
- Bug in :class:`IntervalDtype` where the object could be kept alive when deleted (:issue:`54184`) | ||
- | ||
|
||
Indexing | ||
^^^^^^^^ | ||
|
@@ -612,6 +617,7 @@ ExtensionArray | |
- Bug in :meth:`~arrays.ArrowExtensionArray.__iter__` and :meth:`~arrays.ArrowExtensionArray.__getitem__` returning python datetime and timedelta objects for non-nano dtypes (:issue:`53326`) | ||
- Bug where the :class:`DataFrame` repr would not work when a column would have an :class:`ArrowDtype` with an ``pyarrow.ExtensionDtype`` (:issue:`54063`) | ||
- Bug where the ``__from_arrow__`` method of masked ExtensionDtypes(e.g. :class:`Float64Dtype`, :class:`BooleanDtype`) would not accept pyarrow arrays of type ``pyarrow.null()`` (:issue:`52223`) | ||
- | ||
|
||
Styler | ||
^^^^^^ | ||
|
@@ -640,7 +646,7 @@ Other | |
- Bug in :meth:`Series.memory_usage` when ``deep=True`` throw an error with Series of objects and the returned value is incorrect, as it does not take into account GC corrections (:issue:`51858`) | ||
- Bug in :meth:`period_range` the default behavior when freq was not passed as an argument was incorrect(:issue:`53687`) | ||
- Fixed incorrect ``__name__`` attribute of ``pandas._libs.json`` (:issue:`52898`) | ||
- | ||
- Change ``~tests/extension/test_boolean.py`` to use pd.NA instead of np.nan (following similar patterns in ``~tests/extension/test_integer.py`` and ``~tests/extension/test_float.py``), updating :func:`make_data`, :func:`data_missing`, :func:`data_missing_for_sorting`, :func:`data_for_grouping`, :func:`_check_op` (see `PR <https://github.com/pandas-dev/pandas/pull/53970>`_) | ||
jbrockmendel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.. ***DO NOT USE THIS SECTION*** | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.