George commited on
Commit
6bab1d1
1 Parent(s): 0b292f6

rm key err print

Browse files
Files changed (1) hide show
  1. CNPM.py +1 -1
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 as e:
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):