chararray.resize(new_shape, refcheck=True)
Change shape and size of array in-place. Parameters:
new_shape : tuple of ints, or n ints Shape of resized array. refcheck : bool, optional If False, reference count will not be checked. Default is True. Returns:
None Raises:
ValueError If a does not own its own data or references or views to it exist, and the data memory must be changed. SystemError If the order keyword argument is specified. This behaviour is a bug in NumPy. See al