Last answered:

22 May 2023

Posted on:

09 Jan 2023

0

clarification on Practice question

post sort  I think the index value of largest number will change to 3. hence  as in screen shor number[2[ wont consider the largest number.image.png

1 answers ( 0 marked as helpful)
Instructor
Posted on:

22 May 2023

0

Hi Ankita!
Thanks for reaching out.


Actually, the correct answer is the third one. Why? It is because when we sort the numbers in a Series the initial indexes are being kept. Thus, the largest number 1000 has an index 2 because initially it was defined with this index.


Hope this helps.
Best,
Tsvetelin

Submit an answer