shivangibithel
commited on
Commit
•
428e4a2
1
Parent(s):
49066ef
Update SOTAB.py
Browse files
SOTAB.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import os
|
2 |
import pandas as pd
|
3 |
-
|
4 |
import datasets
|
5 |
|
6 |
# Find for instance the citation on arxiv or on the dataset repo/website
|
@@ -104,8 +103,6 @@ class SOTAB(datasets.GeneratorBasedBuilder):
|
|
104 |
# skip the header
|
105 |
if idx == 0:
|
106 |
continue
|
107 |
-
if idx == 100:
|
108 |
-
break
|
109 |
table_name, column_index, label = line.strip("\n").split(",")
|
110 |
yield idx, {
|
111 |
"column_index": column_index,
|
|
|
1 |
import os
|
2 |
import pandas as pd
|
|
|
3 |
import datasets
|
4 |
|
5 |
# Find for instance the citation on arxiv or on the dataset repo/website
|
|
|
103 |
# skip the header
|
104 |
if idx == 0:
|
105 |
continue
|
|
|
|
|
106 |
table_name, column_index, label = line.strip("\n").split(",")
|
107 |
yield idx, {
|
108 |
"column_index": column_index,
|