如何系统地学习Python 中 matplotlib, numpy, scipy, pandas?

最近在学习python绘制图形的相关知识,学习到了这几个库,所以想请教一下各位知友。希望用python来做数据挖掘相关的任务。 想问问各位知友,pyt…
关注者
16,554
被浏览
3,096,581

340 个回答

Update: 17/3/29:

网站下线,之后以离线版HTML格式提供下载,见GitHub-release


Update: 16/2/20:
这些天在和@万隽舒一起翻译这份文档,水平有限,不足之处还望指正。有兴趣的朋友可以一起来,详情见GitHub - jayleicn/scipy-lecture-notes-zh-CN: 中文版scipy-lecture-notes.

当然,还是推荐大家阅读英文原版。


--------------------
以下原文
--------------------
推荐一个很用心的教程 Scipy Lecture Notes

One document to learn numerics, science, and data with Python

----------------------------------------------
这份教程由易到难分为三个层次

  1. Numpy, Matplotlib, Scipy的入门以及如何利用官方的doc查询函数的用法;
  2. Numpy, Scipy的高级用法,常用的几个数据处理方法,以及Python和C/C++的混合编程;
  3. 其它常用数据处理/机器学习库Sympy, Scikit-image, Mayavi, Scikit-learn的入门及应用。

从内容上来说与题主要求完美契合,同时也涉及到了许多相关的库和技巧。



----------------------------------------------
什么? 嫌在线看教程不方便?

在网站主页的右上角,提供了离线教程的下载链接。 不仅有和在线版完全一致HTML版的离线教程,也有两个PDF版本可以选择! 不得不说是业界良心。 另外所有教程的源码都是可以在GitHub下载到的。



最后,答主也同样是本科生,目前在漫漫的数据处理入门阶段。即为同行者,望共勉之! 希望对题主有帮助。

----------------------------------------------

附上教程目录

1. Getting started with Python for science1.1. Scientific computing with tools and workflow1.2. The Python language1.3. NumPy: creating and manipulating numerical data1.4. Matplotlib: plotting1.5. Scipy : high-level scientific computing1.6. Getting help and finding documentation

2. Advanced topics2.1. Advanced Python Constructs2.2. Advanced Numpy2.3. Debugging code2.4. Optimizing code2.5. Sparse Matrices in SciPy2.6. Image manipulation and processing using Numpy and Scipy2.7. Mathematical optimization: finding minima of functions2.8. Interfacing with C

3. Packages and applications3.1. Statistics in Python3.2. Sympy : Symbolic Mathematics in Python3.3. Scikit-image: image processing3.4. Traits: building interactive dialogs3.5. 3D plotting with Mayavi3.6. scikit-learn: machine learning in Python