Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Zip Strict for pandas/core/dtypes #62594

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
mroeschke merged 2 commits into pandas-dev:main from asoledad33:zip-strict-dtypes
Oct 5, 2025

Conversation

Copy link
Contributor

@asoledad33 asoledad33 commented Oct 5, 2025
edited
Loading

This PR adds the strict=True argument to the zip() calls in pandas/core/dtypes in order to enforce Ruff rule B905.

Changes

  • Added to strict=True to a zip function call in pandas/core/dtypes/missing.py.
  • Caller function array_equivalent() already applies an array length check before calling _array_equivalent_object() which invokes the zip function on the given arrays.

Testing

@mroeschke mroeschke added the Code Style Code style, linting, code_checks label Oct 5, 2025
@mroeschke mroeschke added this to the 3.0 milestone Oct 5, 2025
@mroeschke mroeschke merged commit 8990616 into pandas-dev:main Oct 5, 2025
46 of 47 checks passed
Copy link
Member

Thanks @asoledad33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@mroeschke mroeschke mroeschke approved these changes

Assignees
No one assigned
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Milestone
3.0
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /