- Big Data Analysis with Python
- Ivan Marin Ankit Shukla Sarang VK
- 275字
- 2021-06-11 13:46:40
Which Tool Should Be Used?
Seaborn tries to make the creation of some common analysis graphs easier than using Matplotlib directly. Matplotlib can be considered more low-level than Seaborn, and although this makes it a bit more cumbersome and verbose, it gives analysts much more flexibility. Some graphs, which with Seaborn are created with one function call, would take several lines of code to achieve using Matplotlib.
There is no rule to determine whether an analyst should use only the pandas plotting interface, Matplotlib directly, or Seaborn. Analysts should keep in mind the visualization requirements and the level of configuration required to create the desired graph.
Pandas' plotting interface is easier to use but is more constrained and limited. Seaborn has several graph patterns ready to use, including common statistical graphs such as pair plots and boxplots, but requires that the data is formatted into a tidy format and is more opinionated on how the graphs should look. Matplotlib is the base for both cases and is more flexible than both, but it demands a lot more code to create the same visualizations as the two other options.
The rule of thumb that we use in this book is: how can I create the graph that I need with the least amount of code and without changing the data? With that in mind, we will use the three options, sometimes at the same time, to attain our visualization goals. Analysts should not be restricted to just one of the options. We encourage the use of any tool that creates a meaningful visualization.
Let's go through the most common kinds of graphs used in statistical analysis.
- 集成架構中型系統(tǒng)
- 西門子S7-200 SMART PLC實例指導學與用
- Windows環(huán)境下32位匯編語言程序設計
- 控制系統(tǒng)計算機仿真
- Moodle Course Design Best Practices
- 工業(yè)機器人維護與保養(yǎng)
- 從零開始學PHP
- 網(wǎng)絡管理工具實用詳解
- Silverlight 2完美征程
- 網(wǎng)絡存儲·數(shù)據(jù)備份與還原
- Cortex-M3嵌入式處理器原理與應用
- 歐姆龍CP1H型PLC編程與應用
- 數(shù)據(jù)庫技術:Access 2003計算機網(wǎng)絡技術
- 數(shù)據(jù)庫技術及應用
- Proteus從入門到精通100例