Skip to content

API: Change assert_index_equal(exact=) default from equiv to True#64036

Draft
natmokval wants to merge 5 commits intopandas-dev:mainfrom
natmokval:tst-assert_index_equal-exact-to-True
Draft

API: Change assert_index_equal(exact=) default from equiv to True#64036
natmokval wants to merge 5 commits intopandas-dev:mainfrom
natmokval:tst-assert_index_equal-exact-to-True

Conversation

@natmokval
Copy link
Contributor

@natmokval natmokval commented Feb 5, 2026

Changed in assert_index_equal the parameter exact from default equiv to True

@natmokval natmokval added Testing pandas testing functions or related to the test suite API Design Index Related to the Index class or subclasses labels Feb 5, 2026
@natmokval natmokval marked this pull request as draft February 5, 2026 10:34
Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. Noting that we may want to work on this in pieces

  1. Ensure that all pandas tests would pass with exact=True
  2. Deprecate the "equiv" default in favor of True

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

Labels

API Design Index Related to the Index class or subclasses Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API: Change assert_index_equal(exact=) default from "equiv" to True

2 participants