Skip to content

Commit

Permalink
correct typing for is_copy arg
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankarlos committed Jan 3, 2020
1 parent 4ed4028 commit b629b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3263,7 +3263,7 @@ def _clear_item_cache(self) -> None:
# Indexing Methods

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

0 comments on commit b629b82

Please sign in to comment.