COO.resize

COO.resize(*args, refcheck=True, coords_dtype=<class 'numpy.int64'>)[source]

This method changes the shape and size of an array in-place. :param args: The desired shape of the output array. :type args: tuple, or series of integers

See also

numpy.ndarray.resize

The equivalent Numpy function.