(url, md5, dataset_name, train_file, test_file, sep=',', header='infer', cache=False)
| 114 | |
| 115 | |
| 116 | def _load_dataset_pd(url, md5, dataset_name, train_file, test_file, sep=',', header='infer', cache=False): |
| 117 | train_path, test_path = _download_dataset(url, md5, dataset_name, train_file, test_file, cache) |
| 118 | train, test = pd.read_csv(train_path, header=header, sep=sep), pd.read_csv(test_path, header=header, sep=sep) |
| 119 | if not cache: |
| 120 | os.remove(train_path) |
| 121 | os.remove(test_path) |
| 122 | return train, test |
| 123 | |
| 124 | |
| 125 | def _load_numeric_only_dataset(path, row_count, column_count, sep='\t'): |
no test coverage detected