Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

select only some rows pandas

df.loc[df['column_name'].isin(some_values)]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #rows #pandas
ADD COMMENT
Topic
Name
2+3 =