numpy has three different functions which seem like they can be used for the same things --- except that numpy.maximum can only be used element-wise, w
numpy.maximum
np.maximum not only compares elementwise but also compares array elementwise with single value
np.maximum
>>>np.maximum([23, 14, 16, 20, 25], 18) array([23, 18, 18, 20, 25])