Skip to content

Commit

Permalink
first import pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
llinjupt committed Jan 21, 2019
1 parent 8e6537e commit c584765
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appendix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ Python相关
- `Module of the Week <https://pymotw.com/3/>`_
- `Numpy 和 Scipy 官网 <https://docs.scipy.org/doc/>`_

数据库相关
数据相关
--------------
- `Pandas 官方文档 <http://pandas.pydata.org>`_
- `Python 数据库操作实例 <http://www.cnblogs.com/idbeta/p/5209522.html>`_
- `Sqlite数据库操作 <http://www.runoob.com/sqlite/sqlite-data-types.html>`_

Expand Down
1 change: 1 addition & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
:numbered:

numpy
pandas
matplot
scipy
sympy
Expand Down
19 changes: 19 additions & 0 deletions pandas.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
pandas
================

NumPy 的 ndarray 数据处理要求数据类型一致,且不能缺失,不可为数据项添加额外标签等,为了解决 ndarray 的强类型限制,Panda 对 NumPy 的 ndarray 对象进行了扩展。

建立在 NumPy 数组结构上的 Pandas, 提供了 Series 和 DataFrame 对象,为极度繁琐和耗时的“数据清理”(data munging)任务提供了捷径。

笔者环境使用的 pandas 版本为 0.20.3,使用 Anaconda 提供的集成数据处理环境。

.. code-block:: python
:linenos:
:lineno-start: 0
import pandas as pd
print(pd.__version__)
>>>
0.20.3

0 comments on commit c584765

Please sign in to comment.