

def __array__(self, dtype=None):
    ' the array interface, return my values '
    return self._data.view(np.ndarray)

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.__array__/original