std::endl;
Can I do something like this in python and numpy ?
arr = np.array([0,1,2,3,4,5])
arr.array_interface['data'][0] # with this line I get array offset. some similar value that y in the example above holds but I don't know about the rest
you know you can just int x[5]{0,1,2,3,4}; std::cout << x[2] << std::endl;
I know I just want to know if I can do similar with python
you can access any index, you don't need to increment pointers
I know I can do that and the way I'm trying is not recommended , for the sake of this example I want to whether it is possible or not
Обсуждают сегодня