anjalyjayakrishnan commited on
Commit
28be160
·
1 Parent(s): c021a7c
Files changed (1) hide show
  1. test.py +1 -2
test.py CHANGED
@@ -76,7 +76,7 @@ class Test(datasets.GeneratorBasedBuilder):
76
  def _info(self):
77
  features = datasets.Features(
78
  {
79
- "unnamed": datasets.Value("int64"),
80
  "sentence": datasets.Value("string"),
81
  "path": datasets.Value("string"),
82
  }
@@ -148,7 +148,6 @@ class Test(datasets.GeneratorBasedBuilder):
148
  data_df = pd.read_csv(f,sep=',')
149
  print(data_df.columns)
150
  yield data_df["path"], {
151
- "unnamed" : data_df["unnamed"],
152
  "sentence": data_df["sentence"],
153
  "path": data_df["path"],
154
  }
 
76
  def _info(self):
77
  features = datasets.Features(
78
  {
79
+ # "unnamed": datasets.Value("int64"),
80
  "sentence": datasets.Value("string"),
81
  "path": datasets.Value("string"),
82
  }
 
148
  data_df = pd.read_csv(f,sep=',')
149
  print(data_df.columns)
150
  yield data_df["path"], {
 
151
  "sentence": data_df["sentence"],
152
  "path": data_df["path"],
153
  }