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

相关推荐
qq_463944863 天前
Seaborn库
信息可视化·数据可视化·seaborn
胡耀超3 天前
7、Matplotlib、Seaborn、Plotly数据可视化与探索性分析(探索性数据分析(EDA)方法论)
python·信息可视化·plotly·数据挖掘·数据分析·matplotlib·seaborn
WSSWWWSSW17 天前
Seaborn数据可视化实战:Seaborn数据可视化实战入门
python·信息可视化·数据挖掘·数据分析·matplotlib·seaborn
WSSWWWSSW19 天前
Seaborn数据可视化实战:Seaborn高级使用与性能优化教程
python·信息可视化·matplotlib·seaborn
WSSWWWSSW19 天前
Seaborn数据可视化实战:Seaborn数据可视化基础-从内置数据集到外部数据集的应用
python·信息可视化·数据分析·matplotlib·seaborn
WSSWWWSSW21 天前
Seaborn数据可视化实战:Seaborn多变量图表绘制高级教程
python·信息可视化·数据分析·matplotlib·seaborn
WSSWWWSSW21 天前
Seaborn数据可视化实战:Seaborn颜色与样式定制教程
python·信息可视化·seaborn
WSSWWWSSW22 天前
Seaborn数据可视化实战:Seaborn时间序列可视化入门
python·信息可视化·数据分析·matplotlib·seaborn
姜—姜1 个月前
数据分析总结
数据挖掘·数据分析·numpy·pandas·matplotlib·jieba·seaborn
咩?1 个月前
SEABORN库函数(第十八节课内容总结)
开发语言·python·matplotlib·seaborn