@@ -294,7 +294,7 @@ def assert_almost_equal(
294
294
----------
295
295
left : object
296
296
right : object
297
- check_dtype : bool / string {'equiv'}, default 'equiv'
297
+ check_dtype : bool or {'equiv'}, default 'equiv'
298
298
Check dtype if both a and b are the same type. If 'equiv' is passed in,
299
299
then `RangeIndex` and `Int64Index` are also considered equivalent
300
300
when doing type checking.
@@ -585,7 +585,7 @@ def assert_index_equal(
585
585
----------
586
586
left : Index
587
587
right : Index
588
- exact : bool / string {'equiv'}, default 'equiv'
588
+ exact : bool or {'equiv'}, default 'equiv'
589
589
Whether to check the Index class, dtype and inferred_type
590
590
are identical. If 'equiv', then RangeIndex can be substituted for
591
591
Int64Index as well.
@@ -860,7 +860,7 @@ def assert_interval_array_equal(left, right, exact="equiv", obj="IntervalArray")
860
860
----------
861
861
left, right : IntervalArray
862
862
The IntervalArrays to compare.
863
- exact : bool / string {'equiv'}, default 'equiv'
863
+ exact : bool or {'equiv'}, default 'equiv'
864
864
Whether to check the Index class, dtype and inferred_type
865
865
are identical. If 'equiv', then RangeIndex can be substituted for
866
866
Int64Index as well.
@@ -1089,7 +1089,7 @@ def assert_series_equal(
1089
1089
right : Series
1090
1090
check_dtype : bool, default True
1091
1091
Whether to check the Series dtype is identical.
1092
- check_index_type : bool / string {'equiv'}, default 'equiv'
1092
+ check_index_type : bool or {'equiv'}, default 'equiv'
1093
1093
Whether to check the Index class, dtype and inferred_type
1094
1094
are identical.
1095
1095
check_series_type : bool, default True
@@ -1251,10 +1251,10 @@ def assert_frame_equal(
1251
1251
Second DataFrame to compare.
1252
1252
check_dtype : bool, default True
1253
1253
Whether to check the DataFrame dtype is identical.
1254
- check_index_type : bool / string {'equiv'}, default 'equiv'
1254
+ check_index_type : bool or {'equiv'}, default 'equiv'
1255
1255
Whether to check the Index class, dtype and inferred_type
1256
1256
are identical.
1257
- check_column_type : bool / string {'equiv'}, default 'equiv'
1257
+ check_column_type : bool or {'equiv'}, default 'equiv'
1258
1258
Whether to check the columns class, dtype and inferred_type
1259
1259
are identical. Is passed as the ``exact`` argument of
1260
1260
:func:`assert_index_equal`.
0 commit comments