pandas.core.indexing.IndexingError: Too many indexers
这是为什么呢,问题出在
y_train, y_test=y.iloc[:9,3:],y.iloc[10:,3:]
同样的切片x就可以是dateframe,为什么y就成了series
我实在搞不懂求助大神们
pandas.core.indexing.IndexingError: Too many indexers
这是为什么呢,问题出在
y_train, y_test=y.iloc[:9,3:],y.iloc[10:,3:]
同样的切片x就可以是dateframe,为什么y就成了series
我实在搞不懂求助大神们