Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove outdated comment
  • Loading branch information
jbrockmendel committed Aug 24, 2020
commit cdcc1a0f0e4f40e02a01c0fd71e8905bf1f07364
1 change: 0 additions & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -8651,7 +8651,6 @@ def blk_func(values):
res = df._mgr.reduce(blk_func)
out = df._constructor(res,).iloc[0].rename(None)
if out_dtype is not None:
# only astype if result is empty
out = out.astype(out_dtype)
if axis == 0 and is_object_dtype(out.dtype):
out[:] = coerce_to_dtypes(out.values, df.dtypes)
Expand Down