AnshulS commited on
Commit
601e7cf
·
verified ·
1 Parent(s): 414e74a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -26,12 +26,12 @@ def preprocess_data(df):
26
  return [x.strip() for x in str(val).split('\n') if x.strip()]
27
 
28
  df_cleaned = pd.DataFrame({
29
- "url": "https://www.shl.com" + df.iloc[:, 2].astype(str),
30
- "remote_support": df.iloc[:, 3].apply(clean_support),
31
- "adaptive_support": df.iloc[:, 4].apply(clean_support),
32
- "test_type": df.iloc[:, 5].apply(clean_test_type),
33
- "description": df.iloc[:, 6],
34
- "duration": df.iloc[:, 9].apply(clean_duration),
35
  })
36
  return df_cleaned
37
 
 
26
  return [x.strip() for x in str(val).split('\n') if x.strip()]
27
 
28
  df_cleaned = pd.DataFrame({
29
+ "url": "https://www.shl.com" + df.iloc[:, 1].astype(str),
30
+ "remote_support": df.iloc[:, 2].apply(clean_support),
31
+ "adaptive_support": df.iloc[:, 3].apply(clean_support),
32
+ "test_type": df.iloc[:, 4].apply(clean_test_type),
33
+ "description": df.iloc[:, 5],
34
+ "duration": df.iloc[:, 8].apply(clean_duration),
35
  })
36
  return df_cleaned
37