Spaces:
Build error
Build error
import pandas as pd | |
class CSVLoader: | |
def load_csvs(self, files): | |
dataframes = [] | |
for file in files: | |
df = pd.read_csv(file) | |
dataframes.append(df) | |
return dataframes | |