Spaces:
Runtime error
Runtime error
split added
Browse files- src/data/make_dataset.py +1 -1
src/data/make_dataset.py
CHANGED
@@ -9,7 +9,7 @@ def make_dataset(dataset='cnn_dailymail', split='train'):
|
|
9 |
df = pd.DataFrame()
|
10 |
df['article'] = dataset['article']
|
11 |
df['highlights'] = dataset['highlights']
|
12 |
-
df.to_csv('data/raw/{}.csv'.format(split))
|
13 |
|
14 |
|
15 |
if __name__ == '__main__':
|
|
|
9 |
df = pd.DataFrame()
|
10 |
df['article'] = dataset['article']
|
11 |
df['highlights'] = dataset['highlights']
|
12 |
+
#df.to_csv('data/raw/{}.csv'.format(split))
|
13 |
|
14 |
|
15 |
if __name__ == '__main__':
|