Skip to content

CLN remove unused functions #50394

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 3 commits into from
Dec 22, 2022

Conversation

ShashwatAgrawal20
Copy link
Contributor

@ShashwatAgrawal20 ShashwatAgrawal20 commented Dec 22, 2022

closes #50393

CLN remove _assert_not_frame_equal_both?

Copy link
Member

@MarcoGorelli MarcoGorelli 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 run the pre-commit checks?

@MarcoGorelli MarcoGorelli changed the title cln-remove-50393 CLN remove unused functions Dec 22, 2022
Comment on lines 18 to 22
def _check_cast(df, v):
"""
Check if all dtypes of df are equal to v
"""
assert all(s.dtype.name == v for _, s in df.items())
Copy link
Member

Choose a reason for hiding this comment

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

my bad, this one can't be removed

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

@MarcoGorelli MarcoGorelli added this to the 2.0 milestone Dec 22, 2022
@MarcoGorelli MarcoGorelli merged commit 49ceb1b into pandas-dev:main Dec 22, 2022
@ShashwatAgrawal20 ShashwatAgrawal20 deleted the cln-remove-50393 branch May 11, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLN remove _assert_not_frame_equal_both?
2 participants