IsSamePandas#

class openstef_core.testing.IsSamePandas(pandas_obj: DataFrame | Series)[source]#

Bases: object

Utility class to allow comparison of pandas DataFrames in assertion / calls.

Parameters:

pandas_obj (DataFrame | Series)

__init__(pandas_obj: DataFrame | Series)[source]#

Matcher to check if two DataFrames are equal.

Parameters:

pandas_obj (DataFrame | Series)