Apply Lambda Function To Numpy Array Python W3schools