I have the following dataframe:
data = [
['unit1','A',3000,2.4],['unit1','A',4000,2.5],['unit1','A',5000,2.7],
['unit2','A',3000,2.1],['unit2','A',4000,2.3],['unit2','A',5000,2.6],
['unit3','A',3000,2.5],['unit3','A',4000,2.6],['unit3','A',5000,2.8]]
df = pd.DataFrame(data, columns=['unitname','channel','frequency','power'])
I would like to plot power over frequency, with each unit its own series and a legend corresponding to the unit name. With putting all of the series in the same plot.

