패스트캠퍼스

[패스트캠퍼스] 데이터 분석 부트캠프 17기 - 5주차 (2) pyplot

geraedo 2025. 1. 13. 17:24

주요 학습 내용 요약

 

서울시 인구 현황 데이터 실습

 

1. 데이터 전처리

2. 분석

 


그래프 그리기

 

Matplotlib

1. plot

2. 겹쳐그리기

3. 각각 그리기 plt.subplots( plt1, plt2, figsize=( , ))

4. scatter(x=, y=, label=)

5. pie(x=, labels=)

6. bar(x=, height=)

 

 

그리고 싶은 그래프를 이 사이트에서 찾아서 코드 사용하기

https://matplotlib.org/stable/gallery/index.html

 

Examples — Matplotlib 3.10.0 documentation

Examples For an overview of the plotting methods we provide, see Plot types This page contains example plots. Click on any image to see the full image and source code. For longer tutorials, see our tutorials page. You can also find external resources and a

matplotlib.org