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
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.3.0.rst
+8-3
Original file line number
Diff line number
Diff line change
@@ -224,10 +224,11 @@ Other enhancements
224
224
- :meth:`pandas.read_csv` and :meth:`pandas.read_json` expose the argument ``encoding_errors`` to control how encoding errors are handled (:issue:`39450`)
225
225
- :meth:`.GroupBy.any` and :meth:`.GroupBy.all` use Kleene logic with nullable data types (:issue:`37506`)
226
226
- :meth:`.GroupBy.any` and :meth:`.GroupBy.all` return a ``BooleanDtype`` for columns with nullable data types (:issue:`33449`)
227
+
- :meth:`.GroupBy.rank` now supports object-dtype data (:issue:`38278`)
227
228
- Constructing a :class:`DataFrame` or :class:`Series` with the ``data`` argument being a Python iterable that is *not* a NumPy ``ndarray`` consisting of NumPy scalars will now result in a dtype with a precision the maximum of the NumPy scalars; this was already the case when ``data`` is a NumPy ``ndarray`` (:issue:`40908`)
228
229
- Add keyword ``sort`` to :func:`pivot_table` to allow non-sorting of the result (:issue:`39143`)
229
230
- Add keyword ``dropna`` to :meth:`DataFrame.value_counts` to allow counting rows that include ``NA`` values (:issue:`41325`)
230
-
-
231
+
-:meth:`Series.replace` will now cast results to ``PeriodDtype`` where possible instead of ``object`` dtype (:issue:`41526`)
@@ -578,7 +579,7 @@ Optional libraries below the lowest tested version may still work, but are not c
578
579
+-----------------+-----------------+---------+
579
580
| openpyxl | 3.0.0 | X |
580
581
+-----------------+-----------------+---------+
581
-
| pyarrow | 0.15.0 ||
582
+
| pyarrow | 0.17.0 |X|
582
583
+-----------------+-----------------+---------+
583
584
| pymysql | 0.8.1 | X |
584
585
+-----------------+-----------------+---------+
@@ -647,7 +648,9 @@ Deprecations
647
648
- Deprecated setting :attr:`Categorical._codes`, create a new :class:`Categorical` with the desired codes instead (:issue:`40606`)
648
649
- Deprecated behavior of :meth:`DatetimeIndex.union` with mixed timezones; in a future version both will be cast to UTC instead of object dtype (:issue:`39328`)
649
650
- Deprecated using ``usecols`` with out of bounds indices for ``read_csv`` with ``engine="c"`` (:issue:`25623`)
650
-
- Deprecated passing arguments as positional (except for ``"level"``) in :meth:`DataFrame.reset_index` and :meth:`Series.reset_index` (:issue:`41485`)
651
+
- Deprecated passing arguments as positional in (:issue:`41485`) :
652
+
- :meth:`DataFrame.interpolate` (other than ``"method"``) and :meth:`Series.interpolate`
653
+
- :meth:`DataFrame.reset_index` (other than ``"level"``) and :meth:`Series.reset_index`
- Bug in :func:`pandas.util.show_versions` where console JSON output was not proper JSON (:issue:`39701`)
973
977
- Bug in :meth:`DataFrame.convert_dtypes` incorrectly raised ValueError when called on an empty DataFrame (:issue:`40393`)
974
978
- Bug in :meth:`DataFrame.clip` not interpreting missing values as no threshold (:issue:`40420`)
979
+
- Bug in :class:`Series` backed by :class:`DatetimeArray` or :class:`TimedeltaArray` sometimes failing to set the array's ``freq`` to ``None`` (:issue:`41425`)
0 commit comments