Pandas如何进行模糊筛选?
2017-07-05 本文已影响430人
成鹏9
import pandas as pd
province = pd.DataFrame(['广东', '广西', '福建', '福建省'], columns=['省份'])
province

筛选出含“福”字的数据

import pandas as pd
province = pd.DataFrame(['广东', '广西', '福建', '福建省'], columns=['省份'])
province
筛选出含“福”字的数据