示例#1
0
 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)
示例#2
0
 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)
示例#3
0
 def test1(self):
     df = df_example1.copy() 
     out_df = select_column(df, ['num2', 'str1'])['out_table']
     print(df)
     print(out_df)