change entire column data type in numpy code example Example: change type of array python arr=arr.astype('uint8')