티스토리

hayley
검색하기

IntCastingNaNError: Cannot convert non-finite values (NA or inf) to integer

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')

 

블로그 정보

hayley

프로필 사진
문의안내
  • 티스토리
  • 로그인
  • 고객센터

티스토리는 카카오에서 사랑을 담아 만듭니다.

© Kakao Corp.