일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 팀플기록
- 파이썬알고리즘
- sql연습하기
- 주피터노트북판다스
- 파이썬
- sql따라하기
- Python
- 데이터분석시각화
- matplotlib
- SQLSCOTT
- 주피터노트북데이터분석
- 파이썬수업
- 맷플롯립
- 파이썬차트
- sql연습
- 수업기록
- 주피터노트북
- SQL수업
- python수업
- SQL
- 파이썬크롤링
- 주피터노트북그래프
- 판다스데이터분석
- 파이썬데이터분석
- 파이썬데이터분석주피터노트북
- 주피터노트북맷플롯립
- 판다스그래프
- python알고리즘
- 파이썬시각화
- python데이터분석
- Today
- Total
목록전체 글 (191)
IT_developers

라이브러리 및 세팅 import seaborn as sns seaborn 폰트 사용 - 한글처리보다 먼저 선언해야함 sns.set(font_scale=1) import pandas as pd import matplotlib.pyplot as plt 한글처리 plt.rcParams['font.family'] = 'Malgun Gothic' plt.rcParams['axes.unicode_minus'] = False 경고 메세지 import warnings warnings.simplefilter("ignore") seaborn 스타일의 그래프를 사용 plt.style.use('seaborn') 아이리스 데이터 생성 1. histplot bins : 구간 설정 kde : 밀도에 대한 선 stat : 밀도 형태..

heatmap 색상으로 표현할 수 있는 다양한 정보를 일정한 이미지 위에 열 분포 형태로 출력 열지도 라이브러리 및 세팅 import seaborn as sns seaborn 폰트 사용 - 한글처리보다 먼저 선언해야함 sns.set(font_scale=1) import pandas as pd import matplotlib.pyplot as plt 한글처리 plt.rcParams['font.family'] = 'Malgun Gothic' plt.rcParams['axes.unicode_minus'] = False 경고 메세지 import warnings warnings.simplefilter("ignore") seaborn 스타일의 그래프를 사용 plt.style.use('seaborn') 기본 heat..

라이브러리 및 세팅 import seaborn as sns seaborn 폰트 사용 - 한글처리보다 먼저 선언해야함 sns.set(font_scale=1) import pandas as pd import matplotlib.pyplot as plt 한글처리 plt.rcParams['font.family'] = 'Malgun Gothic' plt.rcParams['axes.unicode_minus'] = False 경고 메세지 import warnings warnings.simplefilter("ignore") seaborn 스타일의 그래프를 사용 plt.style.use('seaborn') 데이터 생성 describe() : 수치형 기술 통계 값 확인 1. boxplot orient = 'h' : 수평 ..

라이브러리 및 세팅 import seaborn as sns seaborn 폰트 사용 - 한글처리보다 먼저 선언해야함 sns.set(font_scale=1) import pandas as pd import matplotlib.pyplot as plt 한글처리 plt.rcParams['font.family'] = 'Malgun Gothic' plt.rcParams['axes.unicode_minus'] = False 경고 메세지 import warnings warnings.simplefilter("ignore") seaborn 스타일의 그래프를 사용 plt.style.use('seaborn') 데이터 생성 데이터 탐색 shape info lineplot 기본 그리기 ci = 95 오차범위 기본 세팅 세부 지..

seaborn 범주형 변수 사용 지원 복잡한 데이터 셋 구조를 간편하게 분석 내장된 테마로 matplotlib figure 스타일을 간단하게 제어 데이터에서 패턴을 나타내는 색상 팔레트를 선택하는 도구들 데이터 서브 셋을 비교하고 일변량이나 이변량 분포를 시각화하는 옵션 라이브러리 및 세팅 import seaborn as sns seaborn 폰트 사용 - 한글처리보다 먼저 선언해야함 sns.set(font_scale=1) import pandas as pd import matplotlib.pyplot as plt 한글처리 plt.rcParams['font.family'] = 'Malgun Gothic' plt.rcParams['axes.unicode_minus'] = False 경고 메세지 import..

https://jumin.mois.go.kr/ageStatMonth.do 202206_202206_연령별인구현황_월간.csv 다운 라이브러리 import pandas as pd 경고메세지 지우기 import warnings warnings.simplefilter("ignore") import matplotlib.pyplot as plt 한글처리 plt.rcParams['font.family'] = 'Malgun Gothic' plt.rcParams['axes.unicode_minus'] = False 1. 데이터 로드 인코딩 에러 ==> encoding='cp949' UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc7 in position 1: inval..

파일 설치 아나콘다 프롬프트 관리자모드 실행 pip install pandas-profiling[notebook] 오류 발생시 pip install markupsafe==2.0.1 라이브러리 from pandas_profiling import ProfileReport import numpy as np import pandas as pd import seaborn as sns 문서화 시키기 HTML 파일 만들기 http://localhost:8888/view/data_analytics/visualization/pandas/iris_report.html

pie plot(원 그래프) NaN이 있으면 0으로 채워짐 음수값이 있으면 오류 발생 기본 라이브러리 import pandas as pd import matplotlib.pyplot as plt import numpy as np 한글처리 plt.rcParams['font.family'] = 'Malgun Gothic' plt.rcParams['axes.unicode_minus'] = False 1) 기본 원 그래프 Name값이 y축 2) 에러 컬럼이 여러개 일 때 기준을 줘야함 ValueError: pie requires either y column or 'subplots=True' 3) 컬럼명 지정 4) 옵션 subplots = True : 컬럼별로 그래프를 그려줌 figsize : 그래프 크기 조절 ..