SyntaxFix
Write A Post
Hire A Developer
Questions
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])