numpy like ndarray.