Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

select first row of every group pandas

df.drop_duplicates(subset='A')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #row #group #pandas
ADD COMMENT
Topic
Name
6+2 =