title: AttributeError: 'numpy.float64' object has no attribute 'log10'
body: <p>I am attempting to find the log slope of a ton of short series using sklearn.LinearRegression. The data is being pulled from rows of a pandas dataframe and looks like:</p>
  
  <pre><code>bp01    1.12
  bp02    1.12
  bp03    1.08
  bp04    0.99
  bp05    1.08
  bp06    1.19
  bp07    1.17
  bp08    1.05
  bp09     0.8
  bp10    0.96
  bp11    0.97
  bp12    1.12
  bp13    0.91
  bp14    0.96
  bp15    1.05
  bp16    0.93
  bp17    0.97
  bp18    0.92
  bp19    0.89
  bp20       0
  Name: 42029, dtype: object
  </code></pre>
  
  <p>However, when I attempt to use np.log10, on the series I get the following error:</p>
  
  <pre><code>In[27]: test.apply(np.log10)
  Traceback (most recent call last):
  
    File "&lt;ipython-input-27-bccff3ed525b&gt;", line 1, in &lt;module&gt;
      test.apply(np.log10)
  
    File "C:\location", line 2348, in apply
      return f(self)
  
  AttributeError: 'numpy.float64' object has no attribute 'log10'
  </code></pre>
  
  <p>I am not sure why this error is being raised, <a href="https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.log10.html" rel="noreferrer">np.log10</a> should work with numpy.float64 from what I am seeing. Ideas?</p>