@@ -190,14 +190,25 @@ API changes
190
190
to a non-unique item in the ``Index`` (previously raised a ``KeyError``).
191
191
- drop unused order argument from ``Series.sort``; args now in the same orders as ``Series.order``;
192
192
add ``na_position`` arg to conform to ``Series.order`` (:issue:`6847`)
193
- - default sorting algorithm for ``Series.order`` is not ``quicksort``, to conform with ``Series.sort``
193
+ - default sorting algorithm for ``Series.order`` is now ``quicksort``, to conform with ``Series.sort``
194
194
(and numpy defaults)
195
195
- add ``inplace`` keyword to ``Series.order/sort`` to make them inverses (:issue:`6859`)
196
196
- accept ``TextFileReader`` in ``concat``, which was affecting a common user idiom (:issue:`6583`), this was a regression
197
197
from 0.13.1
198
198
- Added ``factorize`` functions to ``Index`` and ``Series`` to get indexer and unique values (:issue:`7090`)
199
199
- ``describe`` on a DataFrame with a mix of Timestamp and string like objects returns a different Index (:issue:`7088`).
200
200
Previously the index was unintentionally sorted.
201
+ - arithmetic operations with **only** ``bool`` dtypes now raise an error
202
+ (:issue:`7011`, :issue:`6762`, :issue:`7015`)
203
+
204
+ .. code-block:: python
205
+
206
+ x = pd.Series(np.random.rand(10) > 0.5)
207
+ y = True
208
+ x * y
209
+
210
+ # this now raises for arith ops like ``+``, ``*``, etc.
211
+ NotImplementedError: operator '*' not implemented for bool dtypes
201
212
202
213
.. _whatsnew_0140.display:
203
214
@@ -228,18 +239,6 @@ Display Changes
228
239
length of the series (:issue:`7101`)
229
240
- Fixed a bug in the HTML repr of a truncated Series or DataFrame not showing the class name with the
230
241
`large_repr` set to 'info' (:issue:`7105`)
231
- - arithmetic operations with **only** ``bool`` dtypes now raise an error
232
- (:issue:`7011`, :issue:`6762`, :issue:`7015`)
233
-
234
- .. code-block:: python
235
-
236
- x = pd.Series(np.random.rand(10) > 0.5)
237
- y = True
238
- x * y
239
-
240
- # this now raises for arith ops like ``+``, ``*``, etc.
241
- NotImplementedError: operator '*' not implemented for bool dtypes
242
-
243
242
244
243
.. _whatsnew_0140.groupby:
245
244
0 commit comments