The Python Oracle

Using any() and all() on multiIndex DataFrame while slicing via .xs: strange behavior or just me?

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: Switch On Looping

--

Chapters
00:00 Question
04:07 Accepted answer (Score 1)
06:17 Answer 2 (Score 2)
08:39 Thank you

--

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

Accepted answer links:
[short circuit evaluation]: https://docs.python.org/2/library/stdtyp...

--

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

--

Tags
#python #pandas #dataframe #multiindex #any

#avk47