ValueError: [‘AfterStateHoliday’]: Input contains NaN, infinity or a value too large for dtype(‘float32’).
Seems that the error comes from casting nan as int, should do astype(int) after fillna(0) instead. Will test later and make a pr.
ValueError: [‘AfterStateHoliday’]: Input contains NaN, infinity or a value too large for dtype(‘float32’).
Seems that the error comes from casting nan as int, should do astype(int) after fillna(0) instead. Will test later and make a pr.
Hi, I’m new to this, anyone know how to fix this error?
Make a git pull. As the notebook is updated. Make surr u run the notebook in correct order, you cannot run the notebook top to bottom directly in this notebook. You need to first ser df=train and do preprocessing, and go back set df = test then repeat the process.