preprocessing IntCastingNaNError: Cannot convert non-finite values (NA or inf) to integer hayleyhell 2023. 3. 7. 15:38 https://hyemin-kim.github.io/2020/06/19/S-Python-Pandas-Pre4/ df[col].astype(int, errors='ignore')