Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108644 > unrolled thread

Re: Pandas GroupBy does not behave consistently

Started byMichael Selik <michael.selik@gmail.com>
First post2016-05-15 19:03 +0000
Last post2016-05-15 19:03 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Pandas GroupBy does not behave consistently Michael Selik <michael.selik@gmail.com> - 2016-05-15 19:03 +0000

#108644 — Re: Pandas GroupBy does not behave consistently

FromMichael Selik <michael.selik@gmail.com>
Date2016-05-15 19:03 +0000
SubjectRe: Pandas GroupBy does not behave consistently
Message-ID<mailman.1.1463339026.19823.python-list@python.org>
On Sun, May 15, 2016 at 7:07 AM David Shi <davidgshi@yahoo.co.uk> wrote:

> Hello, Michael,
>
> Pandas GroupBy does not behave consistently.
>
> Last time, when we had conversation, I used grouby.  It works well.
>
> Now, I thought to re-write the program, so that I can end up with a clean
> script.
>
> But, the problem is that a lot of columns are missing after groupby
> application.
>
> Any idea?
>

I'd guess that the columns lost after a groupby had an inappropriate
datatype for the operation you were doing. If you'd like a more thorough
response, you'll need to post the code you tried and the results you got.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web