What is the purpose of negative index values in NumPy ?
Question :
What is the purpose of negative index values in NumPy ?
NumPy also supports negative index values. Using a negative index allows us to retrieve or reference locations starting from the end of the array.