Deutsch English Français Italiano |
<Jay-20240519173201@ram.dialup.fu-berlin.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail From: ram@zedat.fu-berlin.de (Stefan Ram) Newsgroups: comp.lang.python Subject: Re: help: pandas and 2d table Date: 19 May 2024 16:32:50 GMT Organization: Stefan Ram Lines: 8 Expires: 1 Feb 2025 11:59:58 GMT Message-ID: <Jay-20240519173201@ram.dialup.fu-berlin.de> References: <uvbv6a$2gmc4$1@dont-email.me> <pandas-20240412202220@ram.dialup.fu-berlin.de> <uvdvlj$30soq$1@dont-email.me> <8b63c74a-d8e5-4c3a-ac3e-b240c88b7dcb@wichmann.us> <CAO39LaTUr5_KC5PLqb9_PZs4cQMombFUVf21K9o5HhkrWJfKnw@mail.gmail.com> <mailman.104.1713028490.3468.python-list@python.org> <pandas-20240413193824@ram.dialup.fu-berlin.de> <uvetru$375r4$1@dont-email.me> <pandas-20240414094956@ram.dialup.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de HGc6sc5LCR4kcvwfFQp4+QkWxhIXXlBvIEXXjKWpUv/vpW Cancel-Lock: sha1:lMriopUrypBkMSTyty3QZMzrAFQ= sha256:QlVhURebW9u3vtjiyUVEHTdORgauNOM0hMfyXKnTCcY= X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. X-No-Archive: Yes Archive: no X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. X-No-Html: yes Content-Language: en-US Bytes: 2169 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".