title: From series to matplotlib-acceptable format
body: <p>I have grouped some variables using groupby and now I want to plot them and edit the plot using matplotlib. In the code below, I have ploted the data using pandas, which gives me very little room to edit the graph (I think).</p>
  
  <pre><code>a = df_08.groupby('new_time').symbol.count()/len(set(df_08['date']))  
  a.plot()
  </code></pre>
  
  <p>The problem with using matplotlib and doing</p>
  
  <pre><code>plt.plot()
  </code></pre>
  
  <p>is that my data for 'a', after using 'groupby' is not in Series format for pandas and matplotlib does not accept that. </p>
  
  <p>'a' comes out like this, in Series format:</p>
  
  <p>new_time    symbol</p>
  
  <p>09:30   224.2</p>
  
  <p>09:31   133.8</p>
  
  <p>09:32   117.6</p>
  
  <p>09:33   113.5</p>
  
  <p>09:34   108.4</p>
  
  <p>The first column has the name 'Index', but I can't seem to treat it as the column name. I would like the first column to be on the x axis and the second column to be on the y axis. </p>
  
  <p>Anyway, I guess my question is how to transform the data from Series to matplotlib acceptable format.</p>