Posts by Vinicio • 1 point
1 post
-
0
votes1
answer323
viewsQ: Calculate the average of a variable for each type of flower in a column
In the Species column of the dataset, I have these flower species: df['species'].unique() output: array(['Iris-setosa', 'Iris-versicolor', 'Iris-virginica'] I need to average for each flower species…