title: Maintain Values for both axis while smoothing with scipy
body: <p>I have pandas series of type <code>int</code>. I am trying to get a smooth curve rather than a zig-zag structure. </p>
  
  <p><img src="https://i.stack.imgur.com/XflyU.png" alt="Here is the image link"></p>
  
  <p>I saw some previous posta about the same problem but they are smoothing the curve with ( x vs y ) plot whereas in my case I have only a pandas series i.e X axis.</p>
  
  <p>I need a curvy smooth plot.</p>
  
  <p>This is <a href="https://stackoverflow.com/questions/5283649/plot-smooth-line-with-pyplot">the post which I am referring to</a>.</p>