Suppose I have a Dataframe
Product | Price
------------------
A | 20
B | 10
A | 10
B | 15
A |
How should I get the aggregated average values (excluding null values) and plot a graph.
A | 15
B | 12.5
So I would plot a graph for this table. I have though of using groupby but not sure how it would work for this scenarios.