Skip to content

Commit cdcc1a0

Browse files
committed
remove outdated comment
1 parent 5281ce7 commit cdcc1a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/frame.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8651,7 +8651,6 @@ def blk_func(values):
86518651
res = df._mgr.reduce(blk_func)
86528652
out = df._constructor(res,).iloc[0].rename(None)
86538653
if out_dtype is not None:
8654-
# only astype if result is empty
86558654
out = out.astype(out_dtype)
86568655
if axis == 0 and is_object_dtype(out.dtype):
86578656
out[:] = coerce_to_dtypes(out.values, df.dtypes)

0 commit comments

Comments
 (0)