pandas.testing.
assert_index_equal
Check that left and right Index are equal.
Whether to check the Index class, dtype and inferred_type are identical. If ‘equiv’, then RangeIndex can be substituted for Int64Index as well.
Whether to check the names attribute.
Specify comparison precision. Only used when check_exact is False. 5 digits (False) or 3 digits (True) after decimal points are compared. If int, then specify the digits to compare.
Whether to compare number exactly.
Whether to compare internal Categorical exactly.
Specify object name being compared, internally used to show appropriate assertion message.