Datasets:

srzhang commited on
Commit
2780dc9
·
verified ·
1 Parent(s): f38e44e

Update LongConL.py

Browse files
Files changed (1) hide show
  1. LongConL.py +1 -1
LongConL.py CHANGED
@@ -104,7 +104,7 @@ class LongConLDataset(datasets.GeneratorBasedBuilder):
104
  "Citation": row["Citation"],
105
  "Full Case Name": row["Full Case Name"],
106
  "Opinion Text": row["Opinion Text"],
107
- "Numerical Label": row.get("DC Numerical Label", None), # Use .get() to handle missing keys
108
  "Text Label": row["Text Label"],
109
  #"DC Numerical Label": row["DC Numerical Label"]
110
  #"Syllabus": row["Syllabus"]
 
104
  "Citation": row["Citation"],
105
  "Full Case Name": row["Full Case Name"],
106
  "Opinion Text": row["Opinion Text"],
107
+ "Numerical Label": row.get("Numerical Label", None), # Use .get() to handle missing keys
108
  "Text Label": row["Text Label"],
109
  #"DC Numerical Label": row["DC Numerical Label"]
110
  #"Syllabus": row["Syllabus"]