I am trying to do a scatter plot over the number of items in the DataFrame for each date/time combination. I've grouped data like this:
dff = pd.DataFrame(df.groupby(['date', 'time']).size().rename('count'))
and it looks like this:
count
date time
2017-05-19 15:00 1
15:30 1
16:00 1
16:30 1
17:00 1
2017-05-23 10:00 2
10:30 2
11:00 2
...
Now, how can I scatter plot the counts having dates on the X axis and times on the Y axis? plt.scatter(x, y, s=area, c=colors) is the signature, but however I try to select x and y from dff, it fails to find the keys. Also, scatter expects floats on the axes, while I have strings.
