'Check Numpy ufunc on an Series object.'

def test_series_ufunc(self):

    i = Index(np.int32([42, 8, (-5)]))
    s = Series(np.int64([1, 2, 3]), i)
    cfunc = jit(nopython=True)(npyufunc_usecase)
    ss = cfunc(s)
    self.assertIsInstance(ss, Series)
    self.assertIsInstance(ss._index, Index)
    self.assertIs(ss._index._data, i._data)
    self.assertPreciseEqual(ss._values, np.cos(np.sin(s._values)))
