![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据读写(大数据)
--点点--
这个作者很懒,什么都没留下…
展开
-
pandas数据结构及数据读写
1.数据结构Series类似python的字典。创建:pandas.Series([1,2,3,4,5], index=['a','b','c','f','e']) #Index相当于字典的key pandas.Series ( {'a':5} ) #用字典建立对象 查询对象中的元素s[['a','b','c']] #直接查询一组key,返回用这组key和对应value组成的新S...翻译 2018-03-17 09:36:51 · 243 阅读 · 0 评论 -
numpy介绍
# -*- coding: utf-8 -*- #%% import numpy as np #%%ndarray (n dimensional array) #creat array ar = np.array([[1,2,3], [2,3,4]]) #by list np.zeros((2,3)) #by shape and 0 np.ones(...原创 2018-03-20 16:03:00 · 168 阅读 · 0 评论