当前位置:网站首页>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
边栏推荐
- Window系统操作技巧汇总
- Unity 引导系统.点击目标物体后提示文字变色进入下一步
- What kind of framework is friendly to developers?
- Webassembly 2022 questionnaire results are fresh
- Unity Xchart3.0基本用法快速上手
- Study and exploration of Redux API implementation of Redux
- [centralized training] hcip cloud computing resource exchange post
- Dynamics 365Online 如何自定义商机关闭窗体
- Gao Zhiwei: data management enables the digital transformation of the transportation industry
- Implementation of DFA string recognition based on C language simulation
猜你喜欢
![[苹果开发者账号]06 转让开发者账号后,开发者年费自动续费问题](/img/a7/12fd63f16ebca81a3dd2d1b97847d1.png)
[苹果开发者账号]06 转让开发者账号后,开发者年费自动续费问题

Summary of pit trampling records and solutions of data warehouse project

SiC功率半导体产业高峰论坛成功举办

Qmainwindow details

Zhongang Mining: four steps for sustainable and healthy development of fluorite industry

NFA determination and DFA minimization based on C language

How to introduce your project experience?

【微信小程序】接口生成自定义首页二维码

23考研人撑住!考研第一波弃考高峰期已经到来!

A little knowledge ~ miscellaneous notes on topics ~ a polymorphic problem
随机推荐
Libyuv module
[Apple Developer account]06 after transferring the developer account, the annual fee of the developer is automatically renewed
7.9-7.17 new features and grammar of learning plan ES6
i.MX6ULL驱动开发 | 32 - 手动编写一个虚拟网卡设备
How to contribute to openharmony
Shutter -- use camera (continuously updating)
《LOL》从代码上来说最难的是哪个英雄?
What kind of framework is friendly to developers?
mysql将部分表名统一转换为大写
MySQL converts some table names to uppercase
机器学习入门的百科全书-2018年“机器学习初学者”公众号文章汇总
Explanation of C value type and reference type
i. Mx6ull driver development | 32 - manually write a virtual network card device
远程连接windows版本服务器redis的配置文件设置
Study and exploration of Redux API implementation of Redux
2021年CS保研经历(六):系统填报 + 一些感想
Data type of MySQL
Mysql database final review question bank
Why does the system we developed have concurrent bugs? What is the root cause of concurrent bugs?
Briefly describe the difference between heap and stack