산점도 만들기

Python으로 시작하는 데이터 사이언스

Hillary Green-Lerman

Lead Data Scientist, Looker

휴대전화 신호 매핑

Python으로 시작하는 데이터 사이언스

산점도란?

Python으로 시작하는 데이터 사이언스

산점도란?

Python으로 시작하는 데이터 사이언스

산점도 만들기

plt.scatter(df.age, df.height)
plt.xlabel('Age (in months)')
plt.ylabel('Height (in inches)')

plt.show()

Python으로 시작하는 데이터 사이언스

키워드 인자

plt.scatter(df.age, df.height,
            color='green',
            marker='s')

Python으로 시작하는 데이터 사이언스

마커 투명도 변경

plt.scatter(df.x_data,
            df.y_data,
            alpha=0.1)

Python으로 시작하는 데이터 사이언스

연습해 봅시다!

Python으로 시작하는 데이터 사이언스

Preparing Video For Download...