title: Plotting Probability Density Function with Z scores on pandas/python
body: <p>with this code : </p>
  
  <pre><code>df1 = (df.ix[:,1:] - df.ix[:,1:].mean()) / df.ix[:,1:].std()
  </code></pre>
  
  <p>I calculated z scores on one column with frequency distribution of items from my grouped dataframe on the second column. Now the result looked something like this : </p>
  
  <pre><code>Z Score     Frequency Distribution
  -2.394214       1
  -2.280489       1
  -2.166763       2
  -2.109900       7
  -2.053037       4
  -1.939311       7
  -1.882448      11
  -1.825586       9
  -1.768723       7
  -1.711860       4
  -1.654997      11 ..about 73 items
  </code></pre>
  
  <p>Now i wanted to create a probability density plot with z scores on my x-axis and density of frequency on y-axis. So I decided to try on a bar chart first to see how the results turn out . The bar chart showed something like this: </p>
  
  <p><img src="https://i.stack.imgur.com/PKcKl.png" alt="enter image description here"></p>
  
  <p>with this code : <code>ax1 = counts1.plot(kind='bar',stacked = False)</code>, so I thought let's see how probability density function would look like where I changed bar to 'kde' and got something like this:</p>
  
  <p><img src="https://i.stack.imgur.com/VdJ2L.png" alt="enter image description here"></p>
  
  <p>I suppose the plot is okay but I am not really satisfied with my x-axis. Is it possible to index each z scores on x-axis (lets say like x-axis of my bar plot) ? I am new to pandas/matplotlib/ and I am trying to learn plotting, any help is appreciated.</p>