用法:
Series.cov(other, min_periods=None)
計算與係列的協方差,不包括缺失值。
- other:Series
用於計算協方差的係列。
- 浮點數
Series 和其他由 N-1(無偏估計器)歸一化的協方差。
參數:
返回:
注意:
min_periods
參數尚不支持。例子:
>>> import cudf >>> ser1 = cudf.Series([0.9, 0.13, 0.62]) >>> ser2 = cudf.Series([0.12, 0.26, 0.51]) >>> ser1.cov(ser2) -0.015750000000000004
相關用法
- Python cudf.Series.cos用法及代碼示例
- Python cudf.Series.copy用法及代碼示例
- Python cudf.Series.count用法及代碼示例
- Python cudf.Series.corr用法及代碼示例
- Python cudf.Series.ceil用法及代碼示例
- Python cudf.Series.cumprod用法及代碼示例
- Python cudf.Series.cummin用法及代碼示例
- Python cudf.Series.clip用法及代碼示例
- Python cudf.Series.cat用法及代碼示例
- Python cudf.Series.cumsum用法及代碼示例
- Python cudf.Series.cummax用法及代碼示例
- Python cudf.Series.update用法及代碼示例
- Python cudf.Series.max用法及代碼示例
- Python cudf.Series.head用法及代碼示例
- Python cudf.Series.reindex用法及代碼示例
- Python cudf.Series.interleave_columns用法及代碼示例
- Python cudf.Series.min用法及代碼示例
- Python cudf.Series.nlargest用法及代碼示例
- Python cudf.Series.to_frame用法及代碼示例
- Python cudf.Series.mask用法及代碼示例
注:本文由純淨天空篩選整理自rapids.ai大神的英文原創作品 cudf.Series.cov。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。