Spaces:
Running
Running
pratyushmaini
commited on
Commit
•
cff85c9
1
Parent(s):
053e250
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,8 @@ tofu_ds = load_dataset('locuslab/TOFU', "full")
|
|
6 |
ds = tofu_ds["train"]
|
7 |
|
8 |
df = ds.to_pandas()
|
|
|
|
|
9 |
cols = list(df.columns)
|
10 |
df = df.reindex(columns=cols)
|
11 |
|
|
|
6 |
ds = tofu_ds["train"]
|
7 |
|
8 |
df = ds.to_pandas()
|
9 |
+
df = df.sample(frac=1).reset_index(drop=True)
|
10 |
+
|
11 |
cols = list(df.columns)
|
12 |
df = df.reindex(columns=cols)
|
13 |
|