python数据处理——获得pandas dataframe中字符串里的数字 str.extract 其他 2021-11-22 22:39 0 阅读 for i in df.columns: df[i] = df[i].str.extract(’(\d+)’) 猜你喜欢