def assert_frame_equal(left, right): """ The pandas testing utilities have unfortunately decided to enforce instance class. Rather than rewriting the testing utilities we just convert babypandas objects to pandas objects :param left: babypandas dataframe :param right: babypandas dataframe :return: None """ pdt.assert_frame_equal(to_panda_df(left), to_panda_df(right))
def test_to_panda_df(self): df = bpd.DataFrame([0, 1, 2, 3]) bpd.to_panda_df(df)