DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+3 =
Submit