반응형
# 산점도(scatter) 그리기
import matplotlib.pylab as plt
plt.scatter( body['weight'], body['height'], label = "data")
plt.legend(loc = "best")
plt.xlabel('weight')
plt.ylabel('height')
plt.show()
반응형
'Python > Pandas' 카테고리의 다른 글
python f-string 문자열 포멧팅(정렬 등) (0) | 2021.06.04 |
---|---|
python Pandas isin (0) | 2021.06.03 |
Pandas Dataframe 열추가(assign) (0) | 2021.06.03 |
파일 업로드시 활용 할 수 있는 함수들 (0) | 2021.06.03 |
pandas concat 수행시 에러메시지 (0) | 2021.06.03 |