Skip to content

Commit 2a850ea

Browse files
committed
update asserters doc string
1 parent ead8f57 commit 2a850ea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pandas/_testing/asserters.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,9 @@ def assert_index_equal(
266266
left : Index
267267
right : Index
268268
exact : bool or {'equiv'}, default 'equiv'
269-
Whether to check the Index class, dtype and inferred_type
270-
are identical. If 'equiv', RangeIndex can be substituted for
271-
Int64Index and integer dtypes will be equivalent to each other and
272-
float dtypes equivalent to each other.
269+
It True, check that the Index class, dtype and inferred_type are identical.
270+
If 'equiv', numeric indexes will only be compared by dtype and inferred_type.
271+
It False, do not check that Index class, dtype and inferred_type are identical.
273272
check_names : bool, default True
274273
Whether to check the names attribute.
275274
check_less_precise : bool or int, default False

0 commit comments

Comments
 (0)