2n是2乘以n,你写个n2是什么东西呢,n1=5,n2=21都是哪来的呀
你两次获得的close_data数据应该是不同的吧?可以print(close_data)打印出来看看,对比一下两个dataframe有什么不同。