Answers for "how to access row of a particular column in pandas dataframe"

3

pandas get row from column value

df.loc[df['column_name'] == some_value]
Posted by: Guest on November-23-2020
13

how to get a row from a dataframe in python

df.iloc[[index]]
Posted by: Guest on May-15-2020

Code answers related to "how to access row of a particular column in pandas dataframe"

Python Answers by Framework

Browse Popular Code Answers by Language