Apply Lambda Function To Numpy Array Initialization