Numpy Map Function Over Array Methods In Python