I have the following pandas dataframe
test = pd.DataFrame({'cities':['A','B','A','B','A','B',],
'date':['2016-9-1','2016-9-1','2016-9-2','2016-9-2','2016-9-3','2016-9-3'],
'count':[10,20,30,40,50,60]})
And I'd like to plot two scatter plots, one for city 'A' and one for city 'B'. In each plot, x-axis is date, and y-axis is count.
I tried a bit, but the code is so ugly that I am shy from posting it up. Would appreciate somebody to help with some elegant way to do this.
Thank you.
