본문 바로가기

Software/Python

(78)
맥에서 matplotlib 한글 문제 해결하기 2017. 2. 2. 08:00 한 번 matplotlib에서 한글을 해결하기 위한 이야기를 윈도우 환경에서 다루었었는데요.[바로가기] 윈도우랑 맥이랑 폰트설정만 바꿔주는 되는 거지만, 맥 초보분들을 위해 살짝 다루기로 했습니다. 맥에서도 matplotlib 한글 문제를 해결하는 방법^^ (뭐 그래봐야 한 줄 짜리 팁이지만 말이죠^^) import matplotlib.pyplot as plt from matplotlib import rc import seaborn as sns %matplotlib inline 뭐 당연한 이야기지만 matplotlib를 import하구요... 설정을 위해 rc도 import합니다. seaborn은 요즘 제가 재미있게 가지고 노는 아이인데요.. 최근 연재로 다루었지요^^[바로가기] 아무튼 이제 처음 윈도우..
[Seaborn 연재] lmplot을 이용하여 회귀판단하기, 혹은 curve fitting하기 2017. 1. 27. 08:00 기나긴 seaborn 연재의 마지막이네요^^ 오늘은 lmplot을 이용한 회귀,... 혹은 뭐 curve fitting 뭐 여하튼... 1차 혹은 그 이상의 함수로 데이터를 표현하고자 하는 것을 seaborn의 lmplot으로 간단히 수행하는 것을 보여드릴려고 합니다.^^ Seaborn [Seaborn 연재] set_style과 boxplot, swarmplot Seaborn [Seaborn 연재] lmplot과 kdeplot, distplot Seaborn [Seaborn 연재] heatmap 사용하기 Seaborn [Seaborn 연재] pairplot, jointplot, tsplot 익히기 Seaborn [Seaborn 연재] lmplot을 이용하여 회귀판단하기, 혹은 curve fitting하기..
[Seaborn 연재] pairplot, jointplot, tsplot 익히기 2017. 1. 25. 08:00 Seaborn이 제공하는 그래프 중에 오늘은 pairplot, jointplot, tsplot에 대해 이야기를 할려고 합니다^^. 특히 pairplot이 주는 재미난 결과는 꽤 마음에 드실겁니다.^^ Seaborn [Seaborn 연재] set_style과 boxplot, swarmplot Seaborn [Seaborn 연재] lmplot과 kdeplot, distplot Seaborn [Seaborn 연재] heatmap 사용하기 Seaborn [Seaborn 연재] pairplot, jointplot, tsplot 익히기 Seaborn [Seaborn 연재] lmplot을 이용하여 회귀판단하기, 혹은 curve fitting하기 iris라는 데이터를 가지고 오도록 하겠습니다. 이 데이터는 꽃 아이리스..
[Seaborn 연재] heatmap 사용하기 2017. 1. 20. 08:00 Seaborn 연재 중인데요. 뭐 언제나 그렇듯 튜토리얼을 따라하고 있습니다만... 오늘은 heatmap이라는 아이를 소개할려고 합니다. 잘 사용하면 시각화할때 정보전달력이 꽤 괜찮은 아이이거든요...^^ Seaborn [Seaborn 연재] set_style과 boxplot, swarmplot Seaborn [Seaborn 연재] lmplot과 kdeplot, distplot Seaborn [Seaborn 연재] heatmap 사용하기 Seaborn [Seaborn 연재] pairplot, jointplot, tsplot 익히기 Seaborn [Seaborn 연재] lmplot을 이용하여 회귀판단하기, 혹은 curve fitting하기 random 변수 생성해서...heatmap이 어떤건지 바로 보면...
[Seaborn 연재] lmplot과 kdeplot, distplot 2017. 1. 19. 08:00 Seaborn을 가지고 놀다 보면, 꽤 재미있다는 것과 함께 이런 기능이 없을까?하고 생각하면 꼭 있다는 것을 알게됩니다.^^. 오늘은 lmplot과 kdeplot, distplot을 이야기할건데요. 간단하게 상관관계를 바로 확인할 수 있는 어마어마한 기능을 바로 보실 수 있습니다.^^ Seaborn [Seaborn 연재] set_style과 boxplot, swarmplot Seaborn [Seaborn 연재] lmplot과 kdeplot, distplot Seaborn [Seaborn 연재] heatmap 사용하기 Seaborn [Seaborn 연재] pairplot, jointplot, tsplot 익히기 Seaborn [Seaborn 연재] lmplot을 이용하여 회귀판단하기, 혹은 curve f..
[Seaborn 연재] set_style과 boxplot, swarmplot 2017. 1. 18. 08:00 통계적 입장에서 그래프를 그릴때, (물론 matplotlib도 충분히 가능하지만) 유용한 모듈인 seaborn을 데리고 한 5회정도 이야기를 할려고 합니다. 꽤 괜찮은 결과를 쉬운 과정을 통해 보여주거든요. Seaborn [Seaborn 연재] set_style과 boxplot, swarmplot Seaborn [Seaborn 연재] lmplot과 kdeplot, distplot Seaborn [Seaborn 연재] heatmap 사용하기 Seaborn [Seaborn 연재] pairplot, jointplot, tsplot 익히기 Seaborn [Seaborn 연재] lmplot을 이용하여 회귀판단하기, 혹은 curve fitting하기 먼저 conda를 사용하는 경우, conda install sea..
Pandas pivot_table과 groupby, cut 사용하기 2017. 1. 4. 08:00 예전에 Python pandas에 대한 이야기를 했었는데요. 그때 빼먹고 하지 않은 (많은~~) 것들 중에 보강차원에서 오늘은 pivot_table과 groupby에 대해 이야기를 할려고 합니다. 이 글의 자료는 모두 [바로가기]에 있는 자료들이며, 그 예제들 중 일부를 따라하는 겁니다.^^ Python Pandas 기초스러운 Series 사용법 Python Pandas 기초스러운 DataFrame 사용법 Python Pandas Python pandas를 이용한 저장된 파일에서 읽은 데이터를 쉽게 사용하기 Python Pandas Python Pandas를 이용해 분석한 데이터를 그래프로 표현하기... Python Pandas Pandas pivot_table과 groupby, cut 사용하기 매니저나..
MATPLOTLIB 응용 이쁜~ 그래프들~^^ 2017. 1. 3. 08:00 최근 진행한 Python matplotlib 기초에 대한 연재를 마치면서 재미나고 이쁜 그래프 몇 개를 소개할까 합니다. 제가 만든건 아니구요.... Nicolas P. Rougier라는 분의 matplotlib tutorial에 있는 내용입니다. 꽤 재미난 코드들이 많으니 한 번 가서 둘러보시면 괜찮을 겁니다. Python MATPLOTLIB MATPLOTLIB 기초 기본적인 그리기와 설정 변경하기 Python MATPLOTLIB MATPLOTLIB 마커의 활용 Python MATPLOTLIB MATPLOTLIB scatter, bar, barh, pie 그래프 그리기 Python MATPLOTLIB MATPLOTLIB subplot 사용해보기 Python MATPLOTLIB MATPLOTLIB 히스토..

반응형