当前位置:网站首页>A sharp tool for data visualization Seaborn easy to get started
A sharp tool for data visualization Seaborn easy to get started
2022-07-29 09:43:00 【51CTO】
Seaborn It's for statistical mapping , Generally speaking ,Seaborn It can meet the needs of data analysis 90% Drawing needs of . Sorted by this site Seaborn Of 41 A sample code , stay github share , For most data visualization problems, please refer to the sample code here .
Matplotlib Try to make simple things simpler , Difficult things become possible , and Seaborn It's about making difficult things easier .
Seaborn It's for statistical mapping , Generally speaking ,Seaborn It can meet the needs of data analysis 90% Drawing needs of .
Seaborn In fact matplotlib On the basis of a more advanced API encapsulation , So it's easier to draw , Use... In most cases Seaborn Can make a very attractive picture , Should put the Seaborn As matplotlib A supplement to , It's not a substitute .
use matplotlib The biggest difficulty is its default parameters , and Seaborn This problem is completely avoided .
seaborn Altogether 5 Two categories: 21 Seed map , Namely :
- Relational plots Relationship charts
- relplot() Interface of relational class diagram , In fact, it is the integration of the following two diagrams , By designation kind Parameters can draw the following two diagrams
- scatterplot() Scatter plot
- lineplot() Broken line diagram
- Categorical plots Classification chart
- catplot() Interface of classification chart , In fact, it is the integration of the following eight charts , By designation kind Parameters can draw the following eight diagrams
- stripplot() Classified scatter plot
- swarmplot() Can display the classified scatter diagram of distribution density
- boxplot() Box diagram
- violinplot() Violin chart
- boxenplot() Enhancement box diagram
- pointplot() Point graph
- barplot() Bar chart
- countplot() Counting chart
- Distribution plot Distribution map
- jointplot() Bivariate graph
- pairplot() Variable relationship group diagram
- distplot() Histogram , Quality estimation diagram
- kdeplot() Kernel density estimation diagram
- rugplot() Draw the data points in the array as data on the axis
- Regression plots Regression chart
- lmplot() Regression model chart
- regplot() Linear regression chart
- residplot() Linear regression residual graph
- Matrix plots Matrix diagram
- heatmap() Heat map
- clustermap() Aggregation graph
github Address :
https://github.com/fengdu78/machine_learning_beginner/tree/master/seaborn
primary coverage :
Jupyter notebook Format ,Seaborn.ipynb Contains a total of 41 individual Seaborn Sample code for , Just modify the data source to draw a chart like the following figure .
(Seaborn Built in a lot of sample data , by dataframe type , command :df = sns.load_dataset("anscombe") Read “anscombe” Sample data , If you want to view data , Similar to df.head() Command view , When drawing, replace it with your own data .)
Partial effect
Reference resources :
http://seaborn.pydata.org/examples/index.html
Please follow and share ↓↓↓
Beginners of machine learning
QQ Group :554839127
边栏推荐
- 阿左的境界
- Custom configuration
- 基于ArkUI eTS开发的坚果新闻(NutNews)
- Nucleic acid scanning code registration experience (how to improve the correct character recognition rate of OCR)
- Unity xchart3.0 basic usage quick start
- Random number setting and reference between parameters
- 使用cpolar发布树莓派网页(cpolar功能的完善)
- 《LOL》从代码上来说最难的是哪个英雄?
- Solve the problem of reading data garbled by redis visualization tool
- [Apple Developer account]06 after transferring the developer account, the annual fee of the developer is automatically renewed
猜你喜欢

36. JS animation

机器学习入门的百科全书-2018年“机器学习初学者”公众号文章汇总

Sample is new and supported from API 8! Come and take it

上海交大牵手淘宝成立媒体计算实验室:推动视频超分等关键技术发展

Opencv introductory basic learning

数据库表结构生成excel工具

【AAAI】用于交通流预测的基于注意力的时空图卷积网络

Appendix 2 – some simple exercises

A little knowledge ~ miscellaneous notes on topics ~ a polymorphic problem

Manually build ABP framework from 0 -abp official complete solution and manually build simplified solution practice
随机推荐
Appendix 2 – some simple exercises
Basic operations of OpenCV image processing
Harmonyos 3.0 release!
最新翻译的官方PyTorch简易入门教程(PyTorch1.0版本)
Node (II)
PyQt5快速开发与实战 6.5 QGridLayout(网格布局)
【C语言】三子棋(智能下棋 + 阻拦玩家)
MySQL的数据类型
Use cpolar to publish raspberry pie web pages (improvement of cpolar tunnel)
Zhongang Mining: four steps for sustainable and healthy development of fluorite industry
网络安全(5)
A little knowledge ~ miscellaneous notes on topics ~ a polymorphic problem
Study and exploration of Redux API implementation of Redux
i. Mx6ull driver development | 32 - manually write a virtual network card device
"Defects" of prototype chain inheritance and constructor inheritance
Manually build ABP framework from 0 -abp official complete solution and manually build simplified solution practice
数仓项目踩坑记录与解决方法总结
div 水平排列
div水平布局两边对齐
尹伊:我的学习成长路径