pandas 聚合函数

将对一列进行计算返回一个值

方法 描述
Series.all([axis, bool_only, skipna, level]) 是否全为True
Series.any([axis, bool_only, skipna, level]) 是否有一个为True
Series.corr(other[, method, min_periods]) 相关性
Series.count([level])
Series.cov(other[, min_periods]) 协方差
Series.cummax([axis, skipna])
Series.cummin([axis, skipna])
Series.cumprod([axis, skipna]) 累乘
Series.cumsum([axis, skipna]) 累加
Series.kurt([axis, skipna, level, numeric_only]) 峰度
Series.max([axis, skipna, level, numeric_only]) 最大值
Series.mean([axis, skipna, level, numeric_only]) 平均值
Series.median([axis, skipna, level, …]) 中位数
Series.min([axis, skipna, level, numeric_only]) 最小值
Series.prod([axis, skipna, level, numeric_only]) 乘积
Series.quantile([q, interpolation]) 分位数
Series.skew([axis, skipna, level, numeric_only]) 偏度
Series.std([axis, skipna, level, ddof, …]) 标准差
Series.sum([axis, skipna, level, numeric_only]) 求和
Series.var([axis, skipna, level, ddof, …]) 方差
Series.is_unique
Series.str.cat 拼贴字符串

你可能感兴趣的:(Python,python)