阅读背景:

使用pandas merge时如何保持索引

来源:互联网 

I would like to merge two DataFrames, and keep the index from the first frame as the index on the merged dataset. However, when I do the merge, the resulting DataFrame has integer index. How can I specify that I want to keep the index from the left data frame?, and keep




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: