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.
1 answers ( 0 marked as helpful)
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