学习笔记-第二章

2016-10-16  本文已影响0人  幽谷听泉
安装ipython
pip install python
进入python交互环境
$ ipython
Python 2.7.10 (default, Oct 23 2015, 19:19:21) 
Type "copyright", "credits" or "license" for more information.

IPython 5.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]:
内置json模块可讲json字符串转换为python字典对象
collections.Counter类

用pandas对元素进行计数

上一篇下一篇

猜你喜欢

热点阅读