pd.core.window.rolling.Rolling.corr¶
pandas.core.window.rolling.Rolling.corr(other=None, pairwise=None, ddof=1)
支持的参数¶
other: 数据框或系列(不能包含可为空的整数类型)- 必需
- 如果使用 DataFrame 调用,
other必须是一个 DataFrame。如果使用 Series 调用,other必须是一个 Series。