Skip to content

Commit 48d2dca

Browse files
simonjayhawkinsjreback
authored andcommitted
CLN: core.generic.NDFrame.astype (#28828)
1 parent 3fa47de commit 48d2dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5899,7 +5899,7 @@ def astype(self, dtype, copy=True, errors="raise"):
58995899
col.astype(dtype=dtype[col_name], copy=copy, errors=errors)
59005900
)
59015901
else:
5902-
results.append(results.append(col.copy() if copy else col))
5902+
results.append(col.copy() if copy else col)
59035903

59045904
elif is_extension_array_dtype(dtype) and self.ndim > 1:
59055905
# GH 18099/22869: columnwise conversion to extension dtype

0 commit comments

Comments
 (0)