로딩
요청 처리 중입니다...

[Pandas] seaborn, subplots, distplot, countplot, 산점도, jointplot, 육각 그래프

 [Pandas] seaborn, subplots, distplot, countplot, 산점도, jointplot, 육각 그래프

seaborn을 이용해서도 그래프를 그릴 수 있다. matplotlib보다 더 화려한 그래프가 가능하다. subplots, distplot subplot를 통해서 기본 틀을 만들고 distplot 메서드에 열 데이터를 전달하면 히스토그램을 그릴 수 있다. 이때 distplot 메서드를 사용하면 히스토그램과 밀집도 그래프를 같이 그린다.

*밀집도 그래프는 데이터를 정규화시켜 넓이가 1이 되도록 그린 그래프이다. 밀집도 그래프를 제외하고 싶으면 kde 값을 false로 설정하면 된다. kde는 kernel density estimation 약자이다.

밀집도 그래프만 나타내려면 hist 인자를 false로 하면 된다. distplot 메서드에 rug 인자를 추가하면 rug 그래프까지 그릴 수 있다. rug 그래프는 그..........