shivangibithel commited on
Commit
0f3b578
1 Parent(s): 0c8405f

Update SOTAB.py

Browse files
Files changed (1) hide show
  1. SOTAB.py +1 -1
SOTAB.py CHANGED
@@ -117,7 +117,7 @@ class WikiTableQuestions(datasets.GeneratorBasedBuilder):
117
  # df_ = pd.DataFrame(data)
118
 
119
  df_ = pd.read_json(os.path.join(root_dir, table_name), compression='gzip', lines=True)
120
- # df_ = df_.astype({'Fee':'string','Discount':'string'})
121
 
122
  col = []
123
  for j in range(len(df_.loc[0])):
 
117
  # df_ = pd.DataFrame(data)
118
 
119
  df_ = pd.read_json(os.path.join(root_dir, table_name), compression='gzip', lines=True)
120
+ df_ = df_.astype(str)
121
 
122
  col = []
123
  for j in range(len(df_.loc[0])):