Skip to content

fix issues 302, 314, 320, 321 #327

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 1 commit into from
Sep 24, 2022
Merged

Conversation

Dr-Irv
Copy link
Collaborator

@Dr-Irv Dr-Irv commented Sep 24, 2022

Fixed some issues found when writing some new code and checking some old code:

@Dr-Irv Dr-Irv requested a review from twoertwein September 24, 2022 03:49
@@ -150,28 +151,25 @@ class _LocIndexerFrame(_LocIndexer):
@overload
def __getitem__(
self,
idx: tuple[int | StrLike | tuple[HashableT, ...], int | StrLike],
idx: tuple[int | StrLike | tuple[ScalarT, ...], int | StrLike],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HashableT included slice and if it is a slice in the tuple, we are not getting a scalar with .loc

@twoertwein twoertwein merged commit 8429b2d into pandas-dev:main Sep 24, 2022
@twoertwein
Copy link
Member

Thanks @Dr-Irv

@Dr-Irv Dr-Irv deleted the irvissues branch December 28, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants