コード例 #1
0
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))
コード例 #2
0
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))
コード例 #3
0
 def test_to_panda_df(self):
     df = bpd.DataFrame([0, 1, 2, 3])
     bpd.to_panda_df(df)