<An introduction to seaborn>
- Seaborn
: a library for making statistical graphics in Python.
- Matplotlib 기반, Pandas 데이터 구조와 통합
- 라이브러리 호출
# Import seaborn
import seaborn as sns
- 테마 설정
# Apply the default theme
sns.set_theme()
- Dataset 불러오기
# Load an example dataset
tips= sns.load_dataset("tips")
pandas.read_csv()
- 시각화
# Create a visualization
sns.relplot(
data=tips,
x="total_bill", y="tip", col="time",
hue="smoker", style="smoker", size="size",
)