Skip to content

Commit aba56c6

Browse files
committed
py38 compat
1 parent 14f8172 commit aba56c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/array_algos/putmask.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ def putmask_without_repeat(
126126
mask : np.ndarray[bool]
127127
new : Any
128128
"""
129+
new = setitem_datetimelike_compat(values, mask.sum(), new)
130+
129131
if getattr(new, "ndim", 0) >= 1:
130132
new = new.astype(values.dtype, copy=False)
131133

0 commit comments

Comments
 (0)