phusroyal commited on
Commit
af26279
1 Parent(s): 6456787

Update ViHOS.py

Browse files
Files changed (1) hide show
  1. ViHOS.py +1 -1
ViHOS.py CHANGED
@@ -55,7 +55,7 @@ class ViHOS(datasets.GeneratorBasedBuilder):
55
  ]
56
  def _generate_examples(self, filepath, split):
57
 
58
- data = pd.read_csv(filepath, header=0, sep=",", on_bad_lines='skip')
59
 
60
  for i in range(len(data)):
61
  content = str(data.loc[i, 1])
 
55
  ]
56
  def _generate_examples(self, filepath, split):
57
 
58
+ data = pd.read_csv(filepath, header=None, sep=",", on_bad_lines='skip', skiprows=[0])
59
 
60
  for i in range(len(data)):
61
  content = str(data.loc[i, 1])