데이터프레임의 null값의 개수를 확인할때는 isnull().sum()나 isna().sum()을 사용하여 확인
null값을 평균값, 0 등으로 처리할때는 fillna(0, inplace=True)을 사용하여 대체
null값을 제거할 때는 dropna(subset=["특정컬럼명'], inplace=True)을 사용하여 제거
[개미의 걸음 Pandas 9차시] 데이터 제거(drop) (0) | 2021.01.09 |
---|---|
[개미의 걸음 Pandas 8차시] 인덱스 지정(.index, set_index, reset_index, .index +1) (0) | 2021.01.08 |
[개미의 걸음 Pandas 6차시] DataFrame 조회(info(), describe(),dtypes, quantile, max, median, min) (0) | 2021.01.06 |
[개미의 걸음 Pandas 5차시] DataFrame 정렬(sort_values, sort_index) (0) | 2021.01.05 |
[개미의 걸음 Pandas 4차시] Oracle과 연동(.makedsn, .connect, .cursor, .execute) (0) | 2021.01.04 |
댓글 영역