Answers for "get values of row pandas"

3

pandas get row from column value

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

pandas return specific row

df.iloc[1] # replace index integer with specific row number
Posted by: Guest on December-10-2020

Python Answers by Framework

Browse Popular Code Answers by Language