Skip to content

Commit b397804

Browse files
committed
Moved whats new to 1.0
1 parent 412f2d9 commit b397804

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

doc/source/whatsnew/v0.25.1.rst

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ Other
110110

111111
- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` when replacing timezone-aware timestamps using a dict-like replacer (:issue:`27720`)
112112
- Bug in :meth:`Series.rename` when using a custom type indexer. Now any value that isn't callable or dict-like is treated as a scalar. (:issue:`27814`)
113+
- :func:`qcut` and `cut` now handle boolean input (:issue:`20303`)
113114

114115
.. _whatsnew_0.251.contributors:
115116

doc/source/whatsnew/v0.25.2.rst

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ Other
103103
- Compatibility with Python 3.8 in :meth:`DataFrame.query` (:issue:`27261`)
104104
- Fix to ensure that tab-completion in an IPython console does not raise
105105
warnings for deprecated attributes (:issue:`27900`).
106-
- :func:`qcut` now handles bool ndarray/Series (:issue:`20303`)
107106

108107
.. _whatsnew_0.252.contributors:
109108

pandas/core/reshape/tile.py

+1
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ def _coerce_to_type(x):
439439
x = to_timedelta(x)
440440
dtype = np.dtype("timedelta64[ns]")
441441
elif is_bool_dtype(x):
442+
# GH 20303
442443
x = x.astype(np.int64)
443444

444445
if dtype is not None:

0 commit comments

Comments
 (0)