关于 dataframe

使用完表格过滤后,再对 dataframe 做处理,比如,按列取出表格,将会报超出范围错误。使用导出到 excel,再重新读入到 dataframe 后即正常。请问还有更好的办法吗