728x90
Dtypes
DataFrame or Series의 열에 대한 데이터 유형을 dtype이라함.
dtype ==> 열의 유형을 파악
astype() ==> 변환이 가능하면 데이터 형식으로 변환 가능 (ex. int --> float)
Missing data
fillna() : missing 값들을 특정 값으로 교체
reviews.taster_twitter_handle.replace("@kerinokeefe", "@kerino")
replace(A, B) : A를 B로 교체
'Kaggle Learn' 카테고리의 다른 글
Data Visualization - Line Charts (0) | 2024.03.21 |
---|---|
Data Visualization - Hello, Seaborn (0) | 2024.03.21 |
Pandas - Summary Functions and Maps (0) | 2024.03.20 |
Pandas - Indexing, Selecting & Assigning (0) | 2024.03.20 |
Pandas - Creating, Reading and Writing (0) | 2024.03.20 |