Skip to content

Commit b629b82

Browse files
committed
correct typing for is_copy arg
1 parent 4ed4028 commit b629b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3263,7 +3263,7 @@ def _clear_item_cache(self) -> None:
32633263
# Indexing Methods
32643264

32653265
def take(
3266-
self: FrameOrSeries, indices, axis=0, is_copy: bool_t = None, **kwargs
3266+
self: FrameOrSeries, indices, axis=0, is_copy: Optional[bool_t] = None, **kwargs
32673267
) -> FrameOrSeries:
32683268
"""
32693269
Return the elements in the given *positional* indices along an axis.

0 commit comments

Comments
 (0)