실습 관련 데이터 분석 프로젝트(4)

부서 수준 1의 집행 비율 from matplotlib import pyplot as plt pd.set_option(‘display.max_rows’, None) %matplotlib inline plt.rcParams(‘font.family’) = ‘Malgun Gothic’ plt.rcParams(“figure.figsize”) = (20, 10) plt.rcParams(“font.size”) = 12 plt.rcParams(“figure.autolayout”) = True df_seoul_1 = df_seoul(df_seoul(‘부서레벨1’) == ‘서울시본청’) group_count_1 = df_seoul_1((‘부서레벨1’, ‘부서레벨2’, ‘집행금액’)).groupby((‘부서레벨1′,’부서레벨2’), as_index = True)(‘집행금액’).count() group_count_1.plot(kind = ‘bar’) 서울시청 서울시에서는 기획조정실과 행정실에서 사례가 많이 나온 것을 알 수 … Read more