一个一个写好麻烦有没有比较简单的方法直接把所有的都处理一下我用的是juypter里的pandas,numpy.
res = penguins.apply(lambda x:x.unique(),axis = 0) print(res)