咨询热线:400-065-6886
一
导入pandas包
In [1]:
import pandas as pd
二
读取数据

三
查看待拆分的门
'Bacteroidetes', 'Chloroflexi', 'Firmicutes', 'Fusobacteria', 'Gemmatimonadetes', 'Planctomycetes', 'Proteobacteria', 'Spirochaetes', 'Synergistetes'], dtype=object)for i in df['phylum'].unique():
df[df['phylum']==i].to_excel(i+".xls",index=False)
