[error] TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

kiki·2022년 3월 31일
0

에러

목록 보기
1/10

np.isnan()에 input으로 string 타입 데이터를 넣어주려 했을때 발생하는 에러

나는 string 데이터 중 float('nan') 값을 골라내려는 목적에서 isnan을 사용했었기 때문에 type이 float인지 아닌지를 확인하는 방향으로 변경했다.

0개의 댓글