title: how to find exponential weighted moving average using dataframe.ewma?
body: <p>Previously I used the following to calculate the ewma</p>
  
  <pre><code>dataset['26ema'] = pd.ewma(dataset['price'], span=26)
  </code></pre>
  
  <p>But, in the latest version of pandas pd.ewma has been removed. How to calculate using the new method dataframe.ewma?</p>
  
  <pre><code>dataset['26ema'] = dataset['price'].ewma(span=26)
  </code></pre>
  
  <p>This is giving an error 'AttributeError: 'Series' object has no attribute 'ewma'</p>