Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

select column in pandas dataframe

Report_Card.loc[:,"Grades"] The first argument ( : ) signifies which rows we would like
to index, and the second argument (Grades) lets us index the column we want
Source by www.activestate.com #
 
PREVIOUS NEXT
Tagged: #select #column #pandas #dataframe
ADD COMMENT
Topic
Name
8+8 =