s : 指 Pandas 中的序列 , DataFrame/Series对象 s.min() 若为DataFrame 则返回每一列的最小值,若为Series则返回最小值 s.max() 求最大 s.sum() 求和 s.mean() 求平均 s.count() 计数,非缺失元素 s.size() 计 ...
分类:
其他好文 时间:
2019-10-14 14:24:58
阅读次数:
122
几个时序数据库 https://www.cnblogs.com/harrychinese/p/time_series_db.html 可用作时序的数据库: [时序]TimescaleDB, 基于 PostgreSQL, 支持 SQL.[时序]KairosDB, 基于 Cassandra, 不支持 S ...
分类:
数据库 时间:
2019-10-13 17:17:27
阅读次数:
122
初识prometheusprometheus是什么及其主要功能注意事项prometheus是什么?我现在目前的读者都肯定通过prometheus这个监控吧,那么它到底是什么呢?prometheus是一个基于时间序列(time_series)的监控软件,它是由soundCloud开源监控告警解决方案,从2012年开始编写代码,再到2015年github上开源,已经很多大公司使用,2016年prome
分类:
其他好文 时间:
2019-10-11 10:53:05
阅读次数:
97
DataFrame的这些操作和Series很相似,这里简单介绍一下。 一,应用 apply()函数应用于轴级别,applymap应用于元素级别: 定义一个函数fun,使用apply()函数把fun应用到由DataFrame对象的列构成的一维数组上,通常fun函数是由聚合函数构成的。 定义一个函数fo ...
分类:
其他好文 时间:
2019-10-08 14:28:46
阅读次数:
169
[TOC] Series Series([], dtype: float64) 0 1 1 2 2 3 dtype: int64 0 1.0 1 2.0 2 3.0 dtype: float64 0 1.0 1 2.0 2 3.0 dtype: float64 我们可以看到,如果我们不指定dtype ...
分类:
其他好文 时间:
2019-10-07 23:13:43
阅读次数:
121
5.2 基本功能 (1)重新索引 - 方法reindex 方法reindex是pandas对象地一个重要方法,其作用是:创建一个新对象,它地数据符合新地索引。 如,对下面的Series数据按新索引进行重排: 根据新索引重排后的结果如下,当某个索引值不存在,就会在原来的基础上引入缺失值NaN: 利用r ...
分类:
编程语言 时间:
2019-10-07 21:24:56
阅读次数:
141
File Upload: A file is a series of characters. Uploading a file is the opposite of downloading a file. Therefore to transfer a file we need to: 1. Rea ...
分类:
编程语言 时间:
2019-10-07 11:18:32
阅读次数:
84
Browse Princeton's Series (by Date) in Princeton Economic History of the Western World Joel Mokyr, Series Editor Titles in the Princeton Economic Hist ...
分类:
其他好文 时间:
2019-10-07 00:53:19
阅读次数:
145
pandas入门之DataFrame 创建DataFrame - DataFrame是一个【表格型】的数据结构。DataFrame由按一定顺序排列的多列数据组成。设计初衷是将Series的使用场景从一维拓展到多维。DataFrame既有行索引,也有列索引。 - 创建DataFrame的方式 - 列表 ...
分类:
其他好文 时间:
2019-10-05 14:49:35
阅读次数:
95