Skip to content

Conversation

@Lakshya-Upadhyaya
Copy link
Contributor

-Add Pandas4Warning when verify_integrity=True in DataFrame.set_index
-Add test to ensure deprecation warning is raised
-Update whatsnew for v3.0.0 with deprecation note

  • closes DEPR: verify_integrity in DataFrame.set_index #62919
  • Tests added and passed if fixing a bug or adding a new feature.
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@Lakshya-Upadhyaya
Copy link
Contributor Author

I just noticed this PR overlaps with another one opened a bit earlier for the same issue (GH#62919).
Looks like we both worked on the verify_integrity deprecation in DataFrame.set_index around the same time — great to see it moving forward!
If the other PR is merged first, I’m happy to close this or follow up with any smaller improvements (e.g., doc phrasing or tests) as needed.

@mroeschke
Copy link
Member

Thanks for the PR, but yes it appears #63033 was opened and merged first so closing since this issue has been addressed

@mroeschke mroeschke closed this Nov 7, 2025
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.

DEPR: verify_integrity in DataFrame.set_index

3 participants