计算/描述性统计
方法 | 解释 |
---|---|
DataFrame.abs() | 返回具有每个元素的绝对值的Series/DataFrame |
DataFrame.all([axis, bool_only, skipna, level]) | 返回是否所有元素都是True |
DataFrame.any([axis, bool_only, skipna, level]) | 返回是否有任何元素为True |
DataFrame.clip([lower, upper, axis, inplace]) | 使用指定上下阈值替代边界外的值,如:df.clip(lower=-4, upper=6)将小于-4的值用-4替换,大于6的值用6替换 |
DataFrame.corr([method, min_periods]) | 计算自身各列间的相关性,不包括NA/NULL值 |
DataFrame.corrwith(other[, axis, drop, method]) | 计算两个DataFrame的各行或各列的相关性 |
DataFrame.count([axis, level, numeric_only]) | 计算每个列或行的非空单元格 |
DataFrame.cov([min_periods, ddof]) | 计算各列的协方差,不包括NA/NULL值 |
DataFrame.cummax([axis, skipna]) | 在DataFrame或Series指定轴上返回累积最大值 |
DataFrame.cummi |