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.5.0.rst
+4
Original file line number
Diff line number
Diff line change
@@ -308,6 +308,7 @@ Other enhancements
308
308
- Implemented a complex-dtype :class:`Index`, passing a complex-dtype array-like to ``pd.Index`` will now retain complex dtype instead of casting to ``object`` (:issue:`45845`)
309
309
- :class:`Series` and :class:`DataFrame` with :class:`IntegerDtype` now supports bitwise operations (:issue:`34463`)
310
310
- Add ``milliseconds`` field support for :class:`.DateOffset` (:issue:`43371`)
311
+
- :meth:`DataFrame.where` tries to maintain dtype of :class:`DataFrame` if fill value can be cast without loss of precision (:issue:`45582`)
311
312
- :meth:`DataFrame.reset_index` now accepts a ``names`` argument which renames the index names (:issue:`6878`)
312
313
- :func:`concat` now raises when ``levels`` is given but ``keys`` is None (:issue:`46653`)
313
314
- :func:`concat` now raises when ``levels`` contains duplicate values (:issue:`46653`)
@@ -331,6 +332,7 @@ Other enhancements
331
332
- Added ``copy`` keyword to :meth:`Series.set_axis` and :meth:`DataFrame.set_axis` to allow user to set axis on a new object without necessarily copying the underlying data (:issue:`47932`)
332
333
- :meth:`DataFrame.set_index` now supports a ``copy`` keyword. If ``False``, the underlying data is not copied when a new :class:`DataFrame` is returned (:issue:`48043`)
333
334
- The method :meth:`.ExtensionArray.factorize` accepts ``use_na_sentinel=False`` for determining how null values are to be treated (:issue:`46601`)
335
+
- The ``Dockerfile`` now installs a dedicated ``pandas-dev`` virtual environment for pandas development instead of using the ``base`` environment (:issue:`48427`)
- Bug in operations with array-likes with ``dtype="boolean"`` and :attr:`NA` incorrectly altering the array in-place (:issue:`45421`)
1016
+
- Bug in arithmetic operations with nullable types without :attr:`NA` values not matching the same operation with non-nullable types (:issue:`48223`)
1017
+
- Bug in ``floordiv`` when dividing by ``IntegerDtype`` ``0`` would return ``0`` instead of ``inf`` (:issue:`48223`)
1014
1018
- Bug in division, ``pow`` and ``mod`` operations on array-likes with ``dtype="boolean"`` not being like their ``np.bool_`` counterparts (:issue:`46063`)
1015
1019
- Bug in multiplying a :class:`Series` with ``IntegerDtype`` or ``FloatingDtype`` by an array-like with ``timedelta64[ns]`` dtype incorrectly raising (:issue:`45622`)
1016
1020
- Bug in :meth:`mean` where the optional dependency ``bottleneck`` causes precision loss linear in the length of the array. ``bottleneck`` has been disabled for :meth:`mean` improving the loss to log-linear but may result in a performance decrease. (:issue:`42878`)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.6.0.rst
+8-4
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,11 @@ Deprecations
100
100
101
101
Performance improvements
102
102
~~~~~~~~~~~~~~~~~~~~~~~~
103
+
- Performance improvement in :meth:`.GroupBy.median` for nullable dtypes (:issue:`37493`)
104
+
- Performance improvement in :meth:`MultiIndex.argsort` and :meth:`MultiIndex.sort_values` (:issue:`48406`)
103
105
- Performance improvement in :meth:`.GroupBy.mean` and :meth:`.GroupBy.var` for extension array dtypes (:issue:`37493`)
106
+
- Performance improvement for :meth:`Series.value_counts` with nullable dtype (:issue:`48338`)
107
+
- Performance improvement for :class:`Series` constructor passing integer numpy array with nullable dtype (:issue:`48338`)
104
108
- Performance improvement for :meth:`MultiIndex.unique` (:issue:`48335`)
105
109
-
106
110
@@ -154,7 +158,7 @@ Indexing
154
158
^^^^^^^^
155
159
- Bug in :meth:`DataFrame.reindex` filling with wrong values when indexing columns and index for ``uint`` dtypes (:issue:`48184`)
156
160
- Bug in :meth:`DataFrame.reindex` casting dtype to ``object`` when :class:`DataFrame` has single extension array column when re-indexing ``columns`` and ``index`` (:issue:`48190`)
157
-
-
161
+
- Bug in :func:`~DataFrame.describe` when formatting percentiles in the resulting index showed more decimals than needed (:issue:`46362`)
158
162
159
163
Missing
160
164
^^^^^^^
@@ -174,7 +178,7 @@ I/O
174
178
175
179
Period
176
180
^^^^^^
177
-
-
181
+
- Bug in :meth:`Period.strftime` and :meth:`PeriodIndex.strftime`, raising ``UnicodeDecodeError`` when a locale-specific directive was passed (:issue:`46319`)
178
182
-
179
183
180
184
Plotting
@@ -189,7 +193,7 @@ Groupby/resample/rolling
189
193
190
194
Reshaping
191
195
^^^^^^^^^
192
-
-
196
+
- Bug in :func:`join` when ``left_on`` or ``right_on`` is or includes a :class:`CategoricalIndex` incorrectly raising ``AttributeError`` (:issue:`48464`)
193
197
-
194
198
195
199
Sparse
@@ -199,7 +203,7 @@ Sparse
199
203
200
204
ExtensionArray
201
205
^^^^^^^^^^^^^^
202
-
-
206
+
- Bug in :meth:`Series.mean` overflowing unnecessarily with nullable integers (:issue:`48378`)
0 commit comments