Skip to content

Commit f0a0a1c

Browse files
committed
Merge pull request pandas-dev#6981 from pydata/winfix
COMPAT: windows dtype fix in for Panel.count
2 parents 3b13646 + 7839632 commit f0a0a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/nanops.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def _bn_ok_dtype(dt, name):
9999
# bottleneck does not properly upcast during the sum
100100
# so can overflow
101101
if name == 'nansum':
102-
if dt != np.bool_ and dt.itemsize < 8:
102+
if dt.itemsize < 8:
103103
return False
104104

105105
return True

0 commit comments

Comments
 (0)