The Python Oracle

Generate 3D "matrix" with Pandas, based on comparing two dataframes [Python]

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: Life in a Drop

--

Chapters
00:00 Question
02:23 Accepted answer (Score 3)
03:24 Thank you

--

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

Question links:
[image]: https://i.stack.imgur.com/GbbxW.png

Accepted answer links:
[broadcasting]: https://numpy.org/doc/stable/user/basics...
[np.select]: https://numpy.org/doc/stable/reference/g...

--

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

--

Tags
#python #python3x #pandas #numpy

#avk47