morteza commited on
Commit
03de2eb
·
1 Parent(s): f194662

Update cogtext.py

Browse files
Files changed (1) hide show
  1. cogtext.py +1 -1
cogtext.py CHANGED
@@ -96,7 +96,7 @@ class CogText(datasets.GeneratorBasedBuilder):
96
  # This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
97
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
98
 
99
- example_df = pd.read_csv(filepath, compression="gzip", nrows=50)
100
 
101
  for key, row in example_df.iterrows():
102
  yield key, {
 
96
  # This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
97
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
98
 
99
+ example_df = pd.read_csv(filepath, compression="gzip")
100
 
101
  for key, row in example_df.iterrows():
102
  yield key, {