我试图确定我的两个矩阵是否得到纠正,但我研究的函数似乎是基于时间的:
矩阵 1 是 crack_days_per_year_test (1x20),矩阵 2 是平均高度 (1X20)。这两个数据集之间是否存在相关性或协方差?
In [3]: crack_days_per_year_test Out[3]: patach13 63.80 patch0 70.55 patch1 73.15 patch10 63.40 patch12 78.20 patch14 62.05 patch16 77.75 patch17 60.90 patch18 59.95 patch19 59.80 patch2 74.50 patch20 64.40 patch22 57.05 patch24 61.90 patch26 68.15 patch28 81.00 patch29 73.15 patch3 71.70 patch32 77.45 patch33 75.70 patch34 82.10 patch4 70.45 patch5 62.65 patch8 71.40 patch9 61.75
In [4]: df_mean['width'] Out[4]: patach13 17.429669 patch0 10.745361 patch1 10.945610 patch10 13.643841 patch12 9.367250 patch14 13.081686 patch16 20.658830 patch17 23.677631 patch18 19.627111 patch19 10.689899 patch2 14.369594 patch20 17.530563 patch22 9.801526 patch24 10.236406 patch26 7.976708 patch28 9.909858 patch29 9.260692 patch3 8.588795 patch32 18.535705 patch33 26.632647 patch34 21.089035 patch4 9.268423 patch5 9.512022 patch8 8.816836 patch9 7.354210