MAINT: use N.ndarray instead of core.multiarray.ndarray