shivangibithel commited on
Commit
c610d58
1 Parent(s): 02ac618

Update SOTAB.py

Browse files
Files changed (1) hide show
  1. SOTAB.py +2 -2
SOTAB.py CHANGED
@@ -40,7 +40,7 @@ class WikiTableQuestions(datasets.GeneratorBasedBuilder):
40
  def _info(self):
41
  features = datasets.Features(
42
  {
43
- "id": datasets.Value("int32"),
44
  "column_index": datasets.Value("int32"),
45
  "label": datasets.Value("string"),
46
  "table": {
@@ -130,7 +130,7 @@ class WikiTableQuestions(datasets.GeneratorBasedBuilder):
130
 
131
  df = pd.read_csv(main_filepath, encoding="utf8")
132
  for ind in df.index:
133
- example_id = ind
134
  table_name = df['table_name'][ind]
135
  column_index = df['column_index'][ind]
136
  label = df['label'][ind]
 
40
  def _info(self):
41
  features = datasets.Features(
42
  {
43
+ # "id": datasets.Value("int32"),
44
  "column_index": datasets.Value("int32"),
45
  "label": datasets.Value("string"),
46
  "table": {
 
130
 
131
  df = pd.read_csv(main_filepath, encoding="utf8")
132
  for ind in df.index:
133
+ # example_id = ind
134
  table_name = df['table_name'][ind]
135
  column_index = df['column_index'][ind]
136
  label = df['label'][ind]