Numpy Map Function Over Array Methods In Pythons