#NEWLINE# def load_prices_from_csv_folder( folderpath , identifier_col , tz = 'UTC' ) : #NEWLINE# #INDENT# data = None #NEWLINE# for file in os . listdir ( folderpath ) : #NEWLINE# #INDENT# if ( '.csv' not in file ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# raw = load_prices_from_csv ( os . path . join ( folderpath , file ) , identifier_col , tz ) #NEWLINE# if ( identifier_col is None ) : #NEWLINE# #INDENT# data = raw #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# data = pd . concat ( [ data , raw ] , axis = 1 ) #NEWLINE# #UNINDENT# #UNINDENT# return data