title: Python TA-Lib not working with pandas series
body: <p>I am trying to use the TA-Lib in python on Ubuntu 12.04 as <a href="http://mrjbq7.github.io/ta-lib/" rel="noreferrer">described in the official documentation</a>. However, when using pandas <code>DataFrame</code>s or <code>Series</code>, as shown in multiple examples on different sources, I get the following <code>TypeError</code>:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):   File "test1.py", line 14, in
    
        analysis['rsi'] = ta.RSI(spy.Close) TypeError: Argument 'real' has incorrect type (expected numpy.ndarray, got Series)</p>
  </blockquote>
  
  <p>When executing e.g. this code:</p>
  
  <pre><code>import pandas.io.data as data
  import pandas as pd
  import talib as ta
  import matplotlib.pyplot as plt
  
  # Download SP500 data with pandas
  spyidx = data.get_data_yahoo('SPY', '2013-01-01')
  analysis = pd.DataFrame(index = spyidx.index)
  analysis['rsi'] = ta.RSI(spyidx.Close)
  </code></pre>
  
  <p>What went wrong?</p>