can you make sure that indexer and ndim will always be correct for passing here? I know `_get_axis_number` checks and raises an apporpriate error.