Python数据可视化seaborn

产品经理在做数据分析时可能需要通过可视化来分析。seaborn官网

1. relplot 散点图

https://seaborn.pydata.org/examples/scatterplot_sizes.html

python 复制代码
import pandas as pd
import seaborn as sns
df = pd.DataFrame({
    'x': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
    'y': [8, 6, 7, 8, 4, 6, 1, 3, 9, 4]
})
sns.relplot(data= df, x='x', y='y')

2. 分类散点图 strip plot

https://seaborn.pydata.org/examples/strip_regplot.html

3. 分类箱线图 boxplot

https://seaborn.pydata.org/examples/grouped_boxplot.html

4. 小提琴图 violinplot

https://seaborn.pydata.org/examples/wide_form_violinplot.html

5. 热力图 heatmap

https://seaborn.pydata.org/examples/spreadsheet_heatmap.html

6. 预览 pairplot

https://seaborn.pydata.org/examples/scatterplot_matrix.html

相关推荐
陈晨辰熟稳重20 天前
20250713-`Seaborn.pairplot` 的使用注意事项
python·seaborn
李昊哲小课22 天前
销售数据可视化分析项目
python·信息可视化·数据分析·matplotlib·数据可视化·seaborn
李昊哲小课2 个月前
matplotlib基本绘图
人工智能·数据分析·matplotlib·数据可视化·pyecharts·seaborn
Thanks_ks4 个月前
利用 Python 进行股票数据可视化分析
python·matplotlib·热力图·seaborn·可视化分析·股票数据·yfinance
Code_流苏4 个月前
《Python星球日记》第27天:Seaborn 可视化
python·数据可视化·python入门·seaborn·统计图表
胡耀超4 个月前
4.玩转热图(相关矩阵、缺失值、多维相关、聚类热图、时间序列)——Python数据挖掘代码实践
python·机器学习·数据挖掘·matplotlib·聚类·可视化·seaborn
終不似少年遊*5 个月前
综合使用pandas、numpy、matplotlib、seaborn库做数据分析、挖掘、可视化项目
开发语言·python·机器学习·numpy·pandas·matplotlib·seaborn
Jia ming9 个月前
Python 和 Seaborn
python·seaborn
F_D_Z10 个月前
【Python】数据可视化之点线图
python·信息可视化·数据分析·seaborn