Skip to content

Commit 0d2966f

Browse files
committed
COMPAT: 32-bit platform compat for Panel.count
1 parent 2972f37 commit 0d2966f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/panel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ def count(self, axis='major'):
11471147

11481148
values = self.values
11491149
mask = np.isfinite(values)
1150-
result = mask.sum(axis=i)
1150+
result = mask.sum(axis=i,dtype='int64')
11511151

11521152
return self._wrap_result(result, axis)
11531153

0 commit comments

Comments
 (0)