Resize_Image Python function to resize images stored in an ndarray by a scaling factor. Requirements numpy