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‘)
时间: 2025-01-07 23:08:43
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‘)