N-dimensional array like numpy's ndarray