Answers for "select certain values with loc"

1

select specific rows from dataframe in python

select_color = df.loc[df['Color'] == 'Green']
Posted by: Guest on December-03-2020
0

how to get a row of a dataframe with subset columns in python

df.iloc[1:3, 5:7]
Posted by: Guest on April-13-2020

Code answers related to "select certain values with loc"

Python Answers by Framework

Browse Popular Code Answers by Language