Pandas Numpy Ndarray Objective Definition