8000 CLN: BlockManager.get_slice require only slice arg by jbrockmendel · Pull Request #40262 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

CLN: BlockManager.get_slice require only slice arg #40262

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

Merged
merged 6 commits into from
Mar 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mypy fixup
  • Loading branch information
jbrockmendel committed Mar 6, 2021
commit b17ad656657859b89cc3e051dd7636976b6e53c0
2 changes: 2 additions & 0 deletions pandas/core/internals/array_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,8 @@ def get_slice(self, slobj: slice, axis: int = 0) -> ArrayManager:

return type(self)(arrays, new_axes, verify_integrity=False)

getitem_mgr = get_slice

def fast_xs(self, loc: int) -> ArrayLike:
"""
Return the array corresponding to `frame.iloc[loc]`.
Expand Down
0