George
commited on
Commit
•
6bab1d1
1
Parent(s):
0b292f6
rm key err print
Browse files
CNPM.py
CHANGED
@@ -93,7 +93,7 @@ class CNPM(datasets.GeneratorBasedBuilder):
|
|
93 |
def _val_of_key(self, labels: pd.DataFrame, key: str, col: str):
|
94 |
try:
|
95 |
return labels.loc[key][col]
|
96 |
-
except KeyError
|
97 |
return ''
|
98 |
|
99 |
def _generate_examples(self, files, labels):
|
|
|
93 |
def _val_of_key(self, labels: pd.DataFrame, key: str, col: str):
|
94 |
try:
|
95 |
return labels.loc[key][col]
|
96 |
+
except KeyError:
|
97 |
return ''
|
98 |
|
99 |
def _generate_examples(self, files, labels):
|