Python
Python - Pandas 그래프 꾸미기 !
import pandas as pd import matplotlib.pyplot as plt from matplotlib import font_manager, rc df_move = pd.read_excel("C:/Users/Hoon/Desktop/엔코아 파이썬/데이터 시각화/시도별 전출입 인구수.xlsx") df_move.fillna(method='ffill',inplace=True) # 한글 폰트 세팅 font_path = "./malgun.TTF" font = font_manager.FontProperties(fname=font_path).get_name() rc('font', family=font) ''' 서울에서 다른지역으로 이동한 데이터만 추출하여 정리 (데이터프레임객체['열명']=='값'비교..
2022. 9. 30. 08:04