Answers for "displaying data from this column where value is this python"

0

displaying data from this column where value is this python

#To select rows whose column value equals a scalar, some_value, use ==:
df.loc[df['favorite_color'] == 'yellow']
Posted by: Guest on April-23-2022

Python Answers by Framework

Browse Popular Code Answers by Language