Notice
Recent Posts
Recent Comments
Link
아미(아름다운미소)
[python] pandas Jupyter Notebook과 엑셀 스프레드시트를 이용하여 그래프 그리기 본문
python pandas Jupyter Notebook과 엑셀 스프레드시트를 이용하여 그래프 그리기
세 줄의 코드만 있다면 여러분들은 pandas 라이브러리를 부를 수 있고, 엑셀 스프레드시트를 읽을 수 있으며, 그래프를 그릴 수 있습니다.Jupyter와 pandas는 초등학생들도 이해할 수 있는 쉬운 도구입니다.
import pandas as pd df = pd.read_excel('http://qrc.depaul.edu/Excel_Files/Presidents.xls') %matplotlib inline df['Political Party'].value_counts().plot(kind="pie")
'랭귀지 > python' 카테고리의 다른 글
Jupyter notebook 실행시 디폴트 경로 변경 (0) | 2019.02.11 |
---|---|
Python 연산자 우선순위 (0) | 2019.02.10 |
python type 내장함수 (0) | 2019.02.07 |
Python Tuples (0) | 2019.02.05 |
python 산술 연산자 (0) | 2019.02.04 |
Comments