AnshulS commited on
Commit
9d8b461
·
verified ·
1 Parent(s): 23a9800

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ df = pd.read_csv("assesments.csv")
8
 
9
  def clean_df(df):
10
  df = df.copy()
11
- df["url"] = "https://www.shl.com" + df.iloc[:, 1]
12
  df["remote_support"] = df.iloc[:, 2].map(lambda x: "Yes" if x == "T" else "No")
13
  df["adaptive_support"] = df.iloc[:, 3].map(lambda x: "Yes" if x == "T" else "No")
14
  df["test_type"] = df.iloc[:, 4].astype(str).str.split("\\n")
 
8
 
9
  def clean_df(df):
10
  df = df.copy()
11
+ df["url"] = "https://www.shl.com" + df.iloc[:, 1].astype(str)
12
  df["remote_support"] = df.iloc[:, 2].map(lambda x: "Yes" if x == "T" else "No")
13
  df["adaptive_support"] = df.iloc[:, 3].map(lambda x: "Yes" if x == "T" else "No")
14
  df["test_type"] = df.iloc[:, 4].astype(str).str.split("\\n")