Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4주차] 신용카드 거래 데이터 시각화 #4

Open
mingxoxo opened this issue Jan 20, 2021 · 2 comments
Open

[4주차] 신용카드 거래 데이터 시각화 #4

mingxoxo opened this issue Jan 20, 2021 · 2 comments

Comments

@mingxoxo
Copy link
Member

3등 코드로 공부중
https://dacon.io/competitions/official/42473/codeshare/429?page=1&dtype=recent&ptype=pub

@mingxoxo
Copy link
Member Author

describe() --> 다양한 통계량을 요약해주는 함수
통계량은 Series에 대해 요약이 수행됨
DataFrame의 경우 열에 대해 요약 수행
기본적으로 Nan과 같은 결측데이터는 제외하고 수행됨

https://kongdols-room.tistory.com/172

plt.rcParams['axes.unicode_minus'] = False
#그래프에서 마이너스 기호가 깨지지 않고 표시되도록

@mingxoxo
Copy link
Member Author

mingxoxo commented Jan 22, 2021

http://hleecaster.com/python-seaborn-violinplot/

vilolinplot -> KDE plot + box plot

https://laziness.xyz/2018/05/Python-Percentile

percentile : 백분위수

  • 크기가 있는 값들을 순서대로 나열했을 때 백분율로 나타낸 특정 위치의 값
  • 1사분위 수 = 25% 백분위 수

https://dsbook.tistory.com/51

Heatmap : 데이터들의 배열을 색상으로 표현해주는 그래프

  • sns.heatmap(df, vmin, vmax, cbar, center, linewidths, annot, cmap)
  • vmin, vmax : 색으로 표현하는 값의 최솟값과 최댓값
  • cbar : colorbar의 유무
  • center : 중앙값 설정
  • linewidths : 각 cell 사이마다 선을 넣어주고 그 선의 굵기를 결정
  • annot : 각 cell 값 표기 유무
  • cmap : colormap

https://wikidocs.net/42824

countplot
: 범주형 변수의 빈도수를 시각화
https://seaborn.pydata.org/generated/seaborn.countplot.html

https://m.blog.naver.com/PostView.nhn?blogId=heygun&logNo=221520454294&proxyReferer=https:%2F%2Fwww.google.com%2F

figure, ax = plt.subplots()

  • figure : 전체 subplot을 말한다.
  • ax는 axe : 전체 중 낱낱개를 말한다
  • subplot은 하나의 값(axes)만 받을 수 있다.

https://kongdols-room.tistory.com/106

  • DataFrame.from_dict() --> 딕셔너리를 입력으로 가진다.
  • orient라는 입력 변수 columns(키를 열의 레이블/default)/index(키를 행의 레이블)

@mingxoxo mingxoxo changed the title 신용카드 거래 데이터 시각화 [4주차] 신용카드 거래 데이터 시각화 Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant