This repository contains the entire Python Data Science Handbook, in the form of (free!) Jupyter notebooks.
本代码仓库包含着整本Python Data Science Handbook书籍,使用免费的Jupyter notebook格式呈现。
译者注:作者英文版原仓库地址。
- Read the book in its entirety online at https://jakevdp.github.io/PythonDataScienceHandbook/
- Run the code using the Jupyter notebooks available in this repository's notebooks directory.
- Launch executable versions of these notebooks using Google Colab:
- Launch a live notebook server with these notebooks using binder:
- Buy the printed book through O'Reilly Media
- 在线阅读本书(英文原版):https://jakevdp.github.io/PythonDataScienceHandbook/ 。
- 使用Jupyter notebook运行本仓库的代码,代码在notebooks目录下。
- 在谷歌Colab: 上运行这些notebooks。
- 在在线binder: 上运行这些notebooks。
- 在O'Reilly Media网站上购买本书(英文原版)纸质版。
The book was written and tested with Python 3.5, though other Python versions (including Python 2.7) should work in nearly all cases.
本书在Python 3.5环境中编写和测试,但其他的Python版本(包括Python 2.7)也应该可以通过绝大部分示例。
The book introduces the core libraries essential for working with data in Python: particularly IPython, NumPy, Pandas, Matplotlib, Scikit-Learn, and related packages. Familiarity with Python as a language is assumed; if you need a quick introduction to the language itself, see the free companion project, A Whirlwind Tour of Python: it's a fast-paced introduction to the Python language aimed at researchers and scientists.
本书介绍了在Python中操作数据的核心库:特别包括 IPython, NumPy, Pandas, Matplotlib, Scikit-Learn 和其他相关的包。预设前提是读者已经熟悉Python语言;如果你需要语言本身的一个快速入门介绍,可以去参考兄弟项目,A Whirlwind Tour of Python: 这是一个面向研究人员和科学家的快速Python语言入门介绍。
译者注:Python旋风之旅中文翻译已经全部完成。
See Index.ipynb for an index of the notebooks available to accompany the text.
可以参见目录查看所有notebooks的列表。
The code in the book was tested with Python 3.5, though most (but not all) will also work correctly with Python 2.7 and other older Python versions.
本书的代码在Python 3.5环境中测试通过,但绝大部分情况下,代码都能在Python 2.7和其他更早的版本下正常使用。
译者注:Python2将于2020年1月停止维护,因此强烈不建议继续使用Python2。
The packages I used to run the code in the book are listed in requirements.txt (Note that some of these exact version numbers may not be available on your platform: you may have to tweak them for your own use). To install the requirements using conda, run the following at the command-line:
$ conda install --file requirements.txt
运行本书的代码需要用到的第三方包列在 requirements.txt 文件中(请注意,部分确定版本的包可能并不适用于你的系统:你可能需要根据需要调整它们)。要使用 conda 安装需要的依赖包,可以执行下面的命令:
$ conda install --file requirements.txt
To create a stand-alone environment named
PDSH
with Python 3.5 and all the required package versions, run the following:
$ conda create -n PDSH python=3.5 --file requirements.txt
如果需要创建一个独立的Python环境,例如叫PDSH
,使用Python 3.5环境和安装所需的第三方包,执行下面的命令:
$ conda create -n PDSH python=3.5 --file requirements.txt
You can read more about using conda environments in the Managing Environments section of the conda documentation.
可以参见conda文档的管理Python环境章节了解更多的内容。
不翻译了,MIT license。
The code in this repository, including all code samples in the notebooks listed above, is released under the MIT license. Read more at the Open Source Initiative.
不翻译了,CC-BY-NC-ND license。
The text content of the book is released under the CC-BY-NC-ND license. Read more at Creative Commons.