Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas filter

# select columns by name
>>> df.filter(items=['one', 'three'])
         one  three
mouse     1      3
rabbit    4      6
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #pandas #filter
ADD COMMENT
Topic
Name
4+5 =