assert_extension_array_equal(left, right, check_dtype=True, index_values=None, check_less_precise=<no_default>, check_exact=False, rtol: 'float' = 1e-05, atol: 'float' = 1e-08)
Missing values are checked separately from valid values. A mask of missing values is computed for each and checked to match. The remaining all-valid values are cast to object dtype and checked.
The two arrays to compare.
Whether to check if the ExtensionArray dtypes are identical.
Optional index (shared by both left and right), used in output.
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.
Use :None:None:`rtol`
and :None:None:`atol`
instead to define relative/absolute tolerance, respectively. Similar to :None:func:`math.isclose`
.
Whether to compare number exactly.
Relative tolerance. Only used when check_exact is False.
Absolute tolerance. Only used when check_exact is False.
Check that left and right ExtensionArrays are equal.
>>> from pandas import testing as tmSee :
... a = pd.Series([1, 2, 3, 4])
... b, c = a.array, a.array
... tm.assert_extension_array_equal(b, c)
The following pages refer to to this document either explicitly or contain code examples using this.
pandas._testing.asserters.assert_extension_array_equal
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them