Exemplo n.º 1
0
    def transform_data(self,input_df,mapping_file,precession,column,new_datatype):
        
        
        map_df = read.csv_to_df(mapping_file)
        
        join_df = transform.inner_join_df(input_df,map_df)
        
        transformed_df = transform.transform_datatype(join_df,column,new_datatype)

        
        return transformed_df
Exemplo n.º 2
0
 def import_data(self,input_file):
     
    
     input_df = read.csv_to_df(input_file)
     
     return input_df