def test2(self): df = df_example1.copy() out_df = select_column(df, ['num2'], ['num22'], ['double'])['out_table'] print(df) print(df.dtypes) print(out_df) print(out_df.dtypes)
def test3(self): df = df_example1.copy() out_df = select_column(df, ['num1', 'num2', 'str1'], ['num11', 'num22'], ['int', 'string', 'double'])['out_table'] print(df) print(df.dtypes) print(out_df) print(out_df.dtypes)
def test1(self): df = df_example1.copy() out_df = select_column(df, ['num2', 'str1'])['out_table'] print(df) print(out_df)