List:
listA = [‘python‘,‘python‘,‘言‘,‘是‘,‘一‘,‘门‘,‘动‘,‘态‘,‘语‘,‘言‘] print sorted(set(listA), key = listA.index)
?
DataFrame:
gd = gd.query(‘mbrg > @grouth and nprg > @grouth‘)[[‘code‘,‘mbrg‘,‘nprg‘]].drop_duplicates(‘code‘)
时间: 2024-11-05 17:29:00
List:
listA = [‘python‘,‘python‘,‘言‘,‘是‘,‘一‘,‘门‘,‘动‘,‘态‘,‘语‘,‘言‘] print sorted(set(listA), key = listA.index)
?
DataFrame:
gd = gd.query(‘mbrg > @grouth and nprg > @grouth‘)[[‘code‘,‘mbrg‘,‘nprg‘]].drop_duplicates(‘code‘)