自己對自己做covariance就variance
pandas裡面Covariance的函數有四種,基本上如下:
(Documentation裡關鍵字Covariance就找的到了,嗚)
pandas.core.groupby.SeriesGroupBy.cov
pandas.Series.cov
pandas.core.groupby.DataFrameGroupBy.cov
pandas.DataFrame.cov
如果要回傳兩軸相同的Coviarance,應使用後兩者
Are you sure to leave this team?
Once you delete your team, all team notes will be deleted and cannot be recovered. Please ensure you've exported or transfered these notes.
Enter team name before deleting it:
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up