python数据分析与可视化pdf_python data analysis data visualization:(python数据分析数据可视化).pdf...

python data analysis data visualization:(python数据分析数据可视化)

Data Visualization

One of the first steps in data analysis is visualization. Even when looking at a table of

values, we can form a mental image of what the data might look like when graphed.

Data visualization calls for the conception and analysis of the visual representation of

information, signifying data that has been abstracted in some formal pattern, including

properties or quantities for units of measurements of the data. Data visualization is

tightly associated with scientific visualization and statistical graphics. The Python

matplotlib (all lowercase) library is a well-known plotting library based on NumPy,

which we will be using in this chapter. It has an object-oriented and a procedural

MATLAB-like API, which can be used in parallel. A gallery with matplotlib examples

can be found at /gallery.html. The following is a list of

topics that will be covered in this chapter:

• Basic matplotlib plots

• Logarithmic plots

• Scatter plots

• Legends and annotations

• Three-dimensional plots

• Plotting in pandas

• Lag plots

• Autocorrelation plots

• Plot.ly

Data Visualization

matplotlib subpackages

If we pick up our pkg_check.py file provided in the code bundle and change the

code to list the matplotlib subpackages, we get the following result:

matplotlib version 1.3.1

matplotlib.axes

matplotlib.backends

pat

matplotlib.delaunay DESCRIPTION :Author: Robert Kern

:Copyright: Copyright 2005 Robert Kern.

:License: BSD-style license. See LICENSE.tx

jections

matplotlib.sphinxext

matplotlib.style

matplotlib.testing

matplotlib.tests

matplotlib.tri

The subpackage names are pretty self-explanatory. Backends refers to the way

the end result is output. This can be one of several file formats or on the screen

in a graphical user interface. For completeness, refer to the following snippet

with the changed lines in pkg_che

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值