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.
Deprecated since version 1.1.0: Use rtol and atol instead to define relative/absolute tolerance, respectively. Similar to math.isclose().
math.isclose()
Whether to compare number exactly.
Whether to compare internal Categorical exactly.
Relative tolerance. Only used when check_exact is False.
New in version 1.1.0.
Absolute tolerance. Only used when check_exact is False.
Specify object name being compared, internally used to show appropriate assertion message.