将个别带万的字符串 转换为float类型或者int类型 df['价格']=df['价格'].apply(lambda x: float(x.split('万')[0])*10000 if x.split('万')[-1]=='' else float(x)).astype(int)