- DataFrames.head()
λ°μ΄ν° νλ μμ ννκ° μ΄λ»κ² μκ²Όλμ§ κ°μ₯ μμ λ‘μ° λͺκ°λ₯Ό 보μ¬μ€λ€.
(κ°μμμΌλ‘ κ°μ₯ λ§μ§λ§ λ‘μ°λ λͺλ²μ§ΈμΈμ§ ννλ₯Ό μλ €λ©΄ .tail() μΌλ‘ νμΈν μ μλ€.)
- DataFrames.info()
λ°μ΄ν°νλ μμ 컬λΌλ€μ typeμ μ μ μλ€.
- DataFrames.shape
λ°μ΄ν°νλ μμ νμ κΈΈμ΄μ μ΄μ κΈΈμ΄λ₯Ό μ μ μλ€.
- DataFrames.describe()
λ°μ΄ν°νλ μμ κΈ°μ΄ ν΅κ³λ₯Ό νμΈν μ μλ€.
(κ°―μ, νκ· κ°, νμ€νΈμ°¨, μ΅μκ°, 4λΆμμ, μ΅λκ°)
- DataFrames.values
λ°μ΄ν°νλ μμ κ°λ€μ array ννλ‘ μΆλ ₯νλ€.
- DataFrames.columns
λ°μ΄ν°νλ μμ 컬λΌλ€μ μΆλ ₯νλ€
- DataFrames.index
λͺλ²μ§ΈλΆν° μμνλμ§, λͺλ²μ§Έ κΉμ§μΈμ§, indexμ κ΄ν μ 보λ₯Ό μΆλ ₯νλ€.
- μ¬λΌμ΄λ μΆμ² Datacamp - Datascientist with python
https://campus.datacamp.com/courses/data-manipulation-with-pandas/transforming-dataframes?ex=1
Introducing DataFrames | Python
campus.datacamp.com
'π©π»βπ» DataScientist for Python > DataCamp' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
Transforming DataFrames 2 - Creating new columns (0) | 2022.09.27 |
---|---|
Transforming DataFrames 2 - Sorting and subsetting (0) | 2022.09.27 |
Intermediate Python 6 - Pandas read csv file (0) | 2022.09.20 |
Intermediate Python 5 - List / Dictionary (1) | 2022.09.20 |
Intermediate Python 4 - Dictionary (0) | 2022.09.20 |