MCPcopy Create free account
hub / github.com/catboost/catboost / _load_dataset_pd

Function _load_dataset_pd

catboost/python-package/catboost/datasets.py:116–122  ·  view source on GitHub ↗
(url, md5, dataset_name, train_file, test_file, sep=',', header='infer', cache=False)

Source from the content-addressed store, hash-verified

114
115
116def _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
125def _load_numeric_only_dataset(path, row_count, column_count, sep='\t'):

Callers 8

titanicFunction · 0.85
amazonFunction · 0.85
msrankFunction · 0.85
msrank_10kFunction · 0.85
rotten_tomatoesFunction · 0.85
imdbFunction · 0.85
monotonic1Function · 0.85
monotonic2Function · 0.85

Calls 2

_download_datasetFunction · 0.85
removeMethod · 0.45

Tested by

no test coverage detected