ndim < len(rep) или единицы слева к массиву rep если a.ndim > len(rep). Примеры. >>> import numpy as np ...
確定! 回上一頁