데이터셋 종류
데이터의 종류
마크와 채널
Pre-attentive Attribute (전주의적 속성)
기본 plot
plot의 요소
ax.set_title(’제목’)
)Bar Plot
.bar()
.barh()
다양한 Bar Plot
2개 이상의 그룹을 쌓아서 표현 (그룹의 순서는 항상 유지) —> bottom or left 파라미터 사용
전체에서 비율을 나타냄
겹쳐서 만드는 plot
alpha 파라미터: 투명도 조정
bar를 이웃되게 배치하는 방법
Line Plot
.plot()
정확한 Line Plot
.set_ylim()
, .set_xlim()
—> 축 범위 변경).twinx()
.secondary_xaxis()
, .secondary_yaxis()
라인 끝 단에 레이블 추가
x = np.sin(np.linespace(0, 2*np.pi, n)
...)MultipleLocator(1)
: 축 간격 1점을 사용한 그래프, 두 feature간의 관계 확인
.scatter()
점의 다양한 variation (2차원 데이터에서 N차원 데이터로 확장 가능)
color(색), marker(모양), size(크기)
상관 관계 확인 (양의 상관관계 / 음의 상관관계 / 없음)
그 외