0

I am a beginner for python programming, specifically for scientific computing. In python, the index of a np.array, by default, starts from 0. Is it possible to change the index starting from any number, such as -1 ..., like what can do in fortran? thanks a lot.

2

1 Answer 1

0

No.

Feel free to write a wrapper class that adjusts slices by such an offset.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.