for i in df.columns:
    df[i] = df[i].str.extract('(\d+)') 

 

更多推荐