두부너겟
두부너겟 저장소
두부너겟
전체 방문자
오늘
어제
  • 분류 전체보기 (43)
    • 일상 (3)
      • 취준 (3)
    • 통계학 (1)
    • 삽질기록 (3)
    • Python (10)
      • Pandas (0)
    • SQL (3)
      • HackerRank (2)
    • Cloud (3)
      • AWS (3)
    • Algorithm (11)
      • 이코테 (1)
      • 백준 (0)
      • 프로그래머스 (10)
    • Qgis (7)
    • JAVA (0)
      • Spring (0)
    • 책 (0)
      • 파이썬 라이브러리를 활용한 머신러닝 (0)
    • Web (0)
    • 네트워크 (0)
    • R (1)
    • 기타 (1)
    • k8s (0)
      • 따배쿠 (0)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • 통계학
  • 공공데이터API
  • jupyter lab 아이콘 에러
  • pandas
  • HSK
  • hackerrank
  • 기초통계
  • 공공데이터포털
  • QGIS
  • Groupby
  • python
  • 시각화
  • pie chart
  • AWS SAA
  • Python pie chart
  • OSMnx
  • HSK4급
  • AWS #aws #Datasync #storageGateway
  • HSK IBT
  • tqdm

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
두부너겟

두부너겟 저장소

[Python] FutureWarning: `distplot` is a deprecated function and will be removed in a future version. Please adapt your code to use either `displot` (a figure-level function with similar fle..
삽질기록

[Python] FutureWarning: `distplot` is a deprecated function and will be removed in a future version. Please adapt your code to use either `displot` (a figure-level function with similar fle..

2023. 1. 2. 10:31

 

seaborn 패키지 에서 distplot이 사라지고 histplot으로 바뀐것이므로 distplot 대신 histplot을 적용해주면 된다

 

sns.histplot('Age',kde=True,linewidth=0)

# 히스토그램 kdeplot 전부 보이게 하려면 
# kde_kws 옵션 수정할것
sns.histplot('Age',kde=True,linewidth=0,kde_kws=dict(cut=3))

 

 

참고자료 

 

https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751  

 

A guide to replacing the deprecated `seaborn.distplot` function.

A guide to replacing the deprecated `seaborn.distplot` function. - replacing_seaborn_distplot.ipynb

gist.github.com

 

 

저작자표시 (새창열림)

'삽질기록' 카테고리의 다른 글

Could not determine jupyterlab build status without nodejs  (0) 2023.02.10
[Python] ValueError: Setting a random_state has no effect since shuffle is False. You should leave random_state to its default (None), or set shuffle=True.​  (0) 2022.12.28
    '삽질기록' 카테고리의 다른 글
    • Could not determine jupyterlab build status without nodejs
    • [Python] ValueError: Setting a random_state has no effect since shuffle is False. You should leave random_state to its default (None), or set shuffle=True.​
    두부너겟
    두부너겟

    티스토리툴바