Davlan commited on
Commit
cde9296
1 Parent(s): af58a54

Upload nollysenti.py

Browse files
Files changed (1) hide show
  1. nollysenti.py +1 -0
nollysenti.py CHANGED
@@ -125,6 +125,7 @@ class Nollysenti(datasets.GeneratorBasedBuilder):
125
  def _generate_examples(self, filepath):
126
  logger.info("⏳ Generating examples from = %s", filepath)
127
  df = pd.read_csv(filepath, sep='\t')
 
128
  N = df.shape[0]
129
 
130
  for id_ in range(N):
 
125
  def _generate_examples(self, filepath):
126
  logger.info("⏳ Generating examples from = %s", filepath)
127
  df = pd.read_csv(filepath, sep='\t')
128
+ df = df.dropna()
129
  N = df.shape[0]
130
 
131
  for id_ in range(N):