Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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")
|