Hello I'm new to panda and learning python panda
When we use loc function df.loc[df[‘fruit’] == 'orange', property] = citrus df.loc[df[‘fruit’] == 'lemon', property] = citrus
can we use only one command for the same selection?
df.loc[df[‘fruit’] == 'orange', 'lemon', property] = citrus