Sujet : Re: help: pandas and 2d table
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.pythonDate : 19. May 2024, 17:32:50
Autres entêtes
Organisation : Stefan Ram
Message-ID : <Jay-20240519173201@ram.dialup.fu-berlin.de>
References : 1 2 3 4 5 6 7 8 9
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
row-col-addresses of a all the non-NaN values. The general
meaning of "stack" might be the most complex operation of
this script. It's explained in the pandas manual (see there).
Jay Alammar knocked it out of the park with a killer website
called "Visualizing Pandas' Pivoting and Reshaping" that takes
a deep dive into "pivot", "melt", "stack" and "unstack".