Skip to content

Commit 277d925

Browse files
committed
correct typing for is_copy arg
1 parent 8142050 commit 277d925

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
@@ -3275,7 +3275,7 @@ def _clear_item_cache(self) -> None:
32753275
# Indexing Methods
32763276

32773277
def take(
3278-
self: FrameOrSeries, indices, axis=0, is_copy: bool_t = None, **kwargs
3278+
self: FrameOrSeries, indices, axis=0, is_copy: Optional[bool_t] = None, **kwargs
32793279
) -> FrameOrSeries:
32803280
"""
32813281
Return the elements in the given *positional* indices along an axis.

0 commit comments

Comments
 (0)