<s> def import_from_string ( import_string ) : <EOL> """<STR_LIT>""" <EOL> import_split = import_string . split ( "<STR_LIT:.>" ) <EOL> import_class = import_split [ - <NUM_LIT:1> ] <EOL> module_path = "<STR_LIT:.>" . join ( import_split [ : - <NUM_LIT:1> ] ) <EOL> mod = __import__ ( module_path , fromlist = [ import_class ] ) <EOL> klass = getattr ( mod , import_class ) <EOL> return klass <EOL> class DataFormats ( object ) : <EOL> """<STR_LIT>""" <EOL> csv = "<STR_LIT>" <EOL> dataframe = "<STR_LIT>" </s>
