python用DataFrame筛选含有某些字段的行(contains和isin)| 含有nan的行
1. python用dataframe筛选含有某些字段的行(contains和isin) import pandas as pd df = {'DataBase':['mysql','test','test','test','test'],'table':['user','student','course','sc','book']} df = pd.DataFrame(df) print(df)…