求解答,这是什么情况导致的

问题遇到的现象和发生背景
用代码块功能插入代码,请勿粘贴截图
fm = FamaMacBeth(dependent = np.asarray(test_data_1[['emrwd']]),exog = np.asarray(sm.add_constant(test_data_1[['IV_FF3','RiskPremium','SMB','HML']])),check_rank=False)
res_fm = fm.fit(debiased=False)
res_fm

运行结果及报错内容
dependent and exog must have the same number of observations. The number of observations in dependent is 306522, and the number of observations in exog is 1532610.

又看到你了....问题还没解决么?你这个错误是传入的自变量与因变量长度不一致。dependent and exog这两个变量。