title: numpy apply along axis not working with weekday
body: <p>I have a numpy array:</p>
  
  <pre><code>&gt;&gt;&gt; type(dat)
  Out[41]: numpy.ndarray
  
  &gt;&gt;&gt; dat.shape
  Out[46]: (127L,)
  
  &gt;&gt;&gt; dat[0:3]
  Out[42]: array([datetime.date(2010, 6, 11), datetime.date(2010, 6, 19), datetime.date(2010, 6, 30)], dtype=object)
  </code></pre>
  
  <p>I want to get weekdays for each date in this array like the following:</p>
  
  <pre><code>&gt;&gt;&gt; dat[0].weekday()
  Out[43]: 4
  </code></pre>
  
  <p>I tried using the following but none work:</p>
  
  <pre><code>import pandas as pd
  import numpy as np
  import datetime as dt
  
  np.apply_along_axis(weekday,0,dat)
  NameError: name 'weekday' is not defined
  
  np.apply_along_axis(dt.weekday,0,dat)
  AttributeError: 'module' object has no attribute 'weekday'
  
  np.apply_along_axis(pd.weekday,1,dat)
  AttributeError: 'module' object has no attribute 'weekday'
  
  np.apply_along_axis(lambda x: x.weekday(),0,dat)
  AttributeError: 'numpy.ndarray' object has no attribute 'weekday'
  
  np.apply_along_axis(lambda x: x.dt.weekday,0,dat)
  AttributeError: 'numpy.ndarray' object has no attribute 'dt'
  </code></pre>
  
  <p>Is there something I am missing here?</p>