Skip to content

Commit 8cb6355

Browse files
committed
Fix type
1 parent 1782fbd commit 8cb6355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/internals/array_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def fillna(self: T, value, limit, inplace: bool, downcast) -> T:
371371
"fillna", value=value, limit=limit, inplace=inplace, downcast=downcast
372372
)
373373

374-
def astype(self: T, dtype, copy: bool = False, errors: str = "raise") -> T:
374+
def astype(self: T, dtype, copy: bool | None = False, errors: str = "raise") -> T:
375375
return self.apply(astype_array_safe, dtype=dtype, copy=copy, errors=errors)
376376

377377
def convert(self: T, copy: bool | None) -> T:

0 commit comments

Comments
 (0)