The Python Oracle

How to get second highest value in a pandas column for a certain ID?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Drifting Through My Dreams

--

Chapters
00:00 Question
01:38 Accepted answer (Score 3)
02:57 Answer 2 (Score 3)
03:31 Answer 3 (Score 1)
04:20 Thank you

--

Full question
https://stackoverflow.com/questions/6390...

Question links:
[Pandas: Get N largest values and insert NaN values if there are no elements]: https://stackoverflow.com/questions/6390...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #pandas

#avk47