Skip to content

Added types to df.info() #875

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
Feb 23, 2024
Merged

Added types to df.info() #875

merged 1 commit into from
Feb 23, 2024

Conversation

askmyhat
Copy link
Contributor

No description provided.

Copy link
Member

@twoertwein twoertwein left a comment

Choose a reason for hiding this comment

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

Can you please add a test case, something like:

check(assert_type(df.info(show_counts=True), None), None)
check(assert_type(df.info(show_counts=None), None), None)

@askmyhat askmyhat changed the title Replaced null_counts with show_counts in df.info() Added types to df.info() Feb 22, 2024
@twoertwein twoertwein requested a review from Dr-Irv February 22, 2024 19:42
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.

Some small changes

@askmyhat askmyhat requested a review from Dr-Irv February 23, 2024 17:18
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 @askmyhat

@Dr-Irv Dr-Irv merged commit 02abbdb into pandas-dev:main Feb 23, 2024
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.

3 participants