Gagan Bhatia commited on
Commit
e1f665f
1 Parent(s): 27edbdc

Update process_data.py

Browse files
Files changed (1) hide show
  1. src/data/process_data.py +1 -0
src/data/process_data.py CHANGED
@@ -7,6 +7,7 @@ def process_data(split='train'):
7
 
8
  with open("params.yml") as f:
9
  params = yaml.safe_load(f)
 
10
  df = pd.read_csv('data/raw/{}.csv'.format(split))
11
  df.columns = ['Unnamed: 0', 'input_text', 'output_text']
12
  df.to_csv('data/processed/{}.csv'.format(split))
 
7
 
8
  with open("params.yml") as f:
9
  params = yaml.safe_load(f)
10
+
11
  df = pd.read_csv('data/raw/{}.csv'.format(split))
12
  df.columns = ['Unnamed: 0', 'input_text', 'output_text']
13
  df.to_csv('data/processed/{}.csv'.format(split))