Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get unique value of all columns in pandas

print(df.apply(lambda col: col.unique()))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unique #columns #pandas
ADD COMMENT
Topic
Name
4+1 =