title: Pandas Plot: scatter plot with index
body: <p>I am trying to create a scatter plot from pandas dataframe, and I dont want to use matplotlib plt for it. Following is the script </p>
  
  <pre><code>df:
  group people value
     1    5    100
     2    2    90
     1    10   80
     2    20   40
     1    7    10
  </code></pre>
  
  <p>I want to create a scatter plot with index on x axis, only using pandas datframe</p>
  
  <pre><code>df.plot.scatter(x = df.index, y = df.value)
  </code></pre>
  
  <p>it gives me an error</p>
  
  <pre><code>Int64Index([0, 1, 2, 3, 4], dtype='int64') not in index
  </code></pre>
  
  <p>I dont want to use </p>
  
  <pre><code>plt.scatter(x = df.index, y = df.value)
  </code></pre>
  
  <p>how to perfom this plot with pandas dataframe</p>