Set Default Method In Python Geeksforgeeks Numpy