# -*- coding: utf-8 -*-
import pandas as pd
import numpy as np
df11=pd.read_excel("C:/Users/Administrator/Desktop/20190527/表1.xlsx")
df12=pd.read_excel("C:/Users/Administrator/Desktop/20190527/表2.xlsx")
df13=pd.read_excel("C:/Users/Administrator/Desktop/20190527/表3.xlsx")
df11['LipidIon.1']=df11['LipidIon.1'].apply(lambda x : x.strip())
df12['LipidIon.1']=df12['LipidIon.1'].apply(lambda x : x.strip())
df13['LipidIon.1']=df13['LipidIon.1'].apply(lambda x : x.strip())
df11['LipidIon']=df11['LipidIon'].apply(lambda x : x.strip())
df12['LipidIon']=df12['LipidIon'].apply(lambda x : x.strip())
df13['LipidIon']=df13['LipidIon'].apply(lambda x : x.strip())
df11['category']=df11['LipidIon'].apply(lambda x : x.split("+")[-1])
df12['category']=df12['LipidIon'].apply(lambda x : x.
pd.read_excel()练习
最新推荐文章于 2024-05-16 23:36:02 发布