Skip to content
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

Make DataFrame#loc return Series or DataFrame if a scalar is given #866

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

skatsuta
Copy link
Contributor

@skatsuta skatsuta commented Feb 12, 2024

Make DataFrame#loc return Series or DataFrame if a scalar is given, to fix #749.

@skatsuta skatsuta changed the title Return Series or DataFrame if a scalar is given to DataFrame#loc Make DataFrame#loc return Series or DataFrame if a scalar is given Feb 12, 2024
@skatsuta skatsuta marked this pull request as ready for review February 12, 2024 08:20
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

thanks @skatsuta

@Dr-Irv Dr-Irv merged commit 176805d into pandas-dev:main Feb 12, 2024
13 checks passed
@skatsuta skatsuta deleted the issue-749 branch February 13, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pandas loc incorrect type with multi-index
2 participants