Maron's DATA Log

[Python] Pandas 본문

Python

[Python] Pandas

maron2ee 2020. 12. 4. 10:31

# Pandas

: 데이터 분석에 필주적인 자료구조를 제공하는 라이브러리

 

pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language.

 

import pandas as pd

from pandas import DataFrame as df

 

# pd.Series

: NumPy 배열과 같은 1차원 배열과 같은 자료구조

index 와 value 를 갖고 있으며, 특정 index 를 지정할 수 있음

 

# DataFrame

: 여러 개의 column 으로 구성되어 있는 표와 같은 스트레드시트 형식의 자료구조

각 column 별로 서로 다른 종류의 자료형 (숫자, 문자, boolean) 을 저장할 수 있음

'Python' 카테고리의 다른 글

[Python] NumPy  (0) 2020.12.02
[Python] 모듈, 패키지, 내장함수, 외장함수  (0) 2020.12.01
[Python] 예외처리 - Try / Except / Finally  (0) 2020.12.01
[Python] 클래스 / 메소드 (Method) / 상속  (0) 2020.12.01
[Python] 입출력  (0) 2020.11.30
Comments