파이썬은 많은 라이브러리가 존재한다는 장점이 있습니다.
Pandas는 데이터 조작 및 분석을 위한 라이브러리 중 하나입니다.
> pip3 install --upgrade setuptools
> pip3 install --upgrade pip
File > Settings > Project: ~ > Projecrt Interpreter > +
pandas 검색 > pandas 선택 > Install Package
pandas package 설치 오류나는 경우
local(3.8)과 프로젝트 python(3.7) 버전이 달라서 발생한 오류
3.8부터 지원되는 문법들이 있기 때문에 3.8로 맞춰줌
File > Settings > Project: ~ > Projecrt Interpreter 탭의 Projecrt Interpreter 변경
pandas_test.py 생성
import pandas
df = pandas.DataFrame([
[1,2,3],
[4,5,6]
])
print(df)
실행결과
>pip3 install pandas