Skip to content

Commit 4d6d6b9

Browse files
committed
BUG: dropna dtype comp issue related (GH5815)
1 parent f7aeaeb commit 4d6d6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3954,7 +3954,7 @@ def count(self, axis=0, level=None, numeric_only=False):
39543954
else:
39553955
result = notnull(frame).sum(axis=axis)
39563956

3957-
return result
3957+
return result.astype('int64')
39583958

39593959
def _count_level(self, level, axis=0, numeric_only=False):
39603960
if numeric_only:

0 commit comments

Comments
 (0)