-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TYP: follow-ups to recent PRs #38840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -1274,22 +1274,6 @@ def shift(self, periods: int, axis: int = 0, fill_value=None): | |||
|
|||
return [self.make_block(new_values)] | |||
|
|||
def _maybe_reshape_where_args(self, values, other, cond, axis): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow!
@@ -2583,7 +2567,7 @@ def _block_shape(values: ArrayLike, ndim: int = 1) -> ArrayLike: | |||
return values | |||
|
|||
|
|||
def safe_reshape(arr, new_shape: Shape): | |||
def safe_reshape(arr: ArrayLike, new_shape: Shape) -> ArrayLike: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docstring implies that Series and Index are allowed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the docstring
No description provided.