Load a csv file with pandas
(path: str)
| 56 | return get_rank() == 0 |
| 57 | |
| 58 | def load_label_from_csv(path: str): |
| 59 | """Load a csv file with pandas""" |
| 60 | return pd.read_csv(path, index_col=0, header=0, sep=",") |
| 61 | |
| 62 | def get_entry_or(cfg, key, default): |
| 63 | if key in cfg: |
nothing calls this directly
no outgoing calls
no test coverage detected