Learn Before
Concept
pd.unique()
unique() is often used to find the unique elements. It usually returns an array.
unique().tolist() can store the elements into a list.
len(unique()) can find how many unique elements there are.
0
1
Updated 2021-01-27
Tags
Data Science