pvn25 / ML-Data-Prep-Zoo

Apache License 2.0
28 stars 7 forks source link

key error in evaluation script comes from wrong encoding #9

Open amueller opened 3 years ago

amueller commented 3 years ago

There's a

    try:
        curtype = # magic
    except KeyError:

in the evaluation code where you fall back to Object. The reason I saw is that the latin1 encoding wasn't correct, and doing

try:
   curtype = # magic
except KeyError:
   df = pd.read_csv(csv_name)
   curtype = # magic

There's also one case of

Record_id                                                        119
Attribute_name                                                   NaN

where I can't identify the row, though.