Can I interpolate method=index without creating a new series?

后端 未结 0 1027
深忆病人
深忆病人 2021-01-03 06:58
import pandas as pd
merged = pd.DataFrame({\'Z\':(0,1.,2.5,3.),\'X\':(-1.,None,None,0),\'U\':(0,1.,1.,0)})

for col in merged:
    merged[col] = pd.to_numeric(merged         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题