Upload nollysenti.py
Browse files- 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):
|