(path)
| 344 | return data |
| 345 | |
| 346 | def load_csv(path): |
| 347 | file_list = [] |
| 348 | data = pd.read_csv(path) |
| 349 | columns = data.columns.tolist() |
| 350 | for index, row in data.iterrows(): |
| 351 | file_list.append({}) |
| 352 | for column in columns: |
| 353 | file_list[index][column] = row[column] |
| 354 | return file_list |
nothing calls this directly
no outgoing calls
no test coverage detected