Skip to content

Latest commit

 

History

History
120 lines (69 loc) · 7.18 KB

README.md

File metadata and controls

120 lines (69 loc) · 7.18 KB

Python Data Science Handbook

Python数据科学手册

Binder Colab

在线Binder 谷歌Colab

本书Github免费notebook格式中文翻译目录

下载中文版PDF可打印格式

This repository contains the entire Python Data Science Handbook, in the form of (free!) Jupyter notebooks.

本代码仓库包含着整本Python Data Science Handbook书籍,使用免费的Jupyter notebook格式呈现。

译者注:作者英文版原仓库地址

cover image

How to Use this Book

如何阅读本书

  • Run the code using the Jupyter notebooks available in this repository's notebooks directory.
  • Launch executable versions of these notebooks using Google Colab: Colab
  • Launch a live notebook server with these notebooks using binder: Binder

About

关于

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的列表。

Software

软件

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环境章节了解更多的内容。

License

协议

Code

代码

不翻译了,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.

Text

文字

不翻译了,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.