Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeGrouper error on PanelGroupBy.agg with custom functions. #2537

Closed
dalejung opened this issue Dec 14, 2012 · 1 comment

Comments

@dalejung
Copy link
Contributor

commented Dec 14, 2012

http://nbviewer.ipython.org/4287202/

When using a regular groupby, custom agg functions will receive a Panel as expected. If you groupby with TimeGrouper, the agg function will receive a Series. The regular cython aggregates likes mean, sum work fine.

@wesm

This comment has been minimized.

Copy link
Member

commented Dec 16, 2012

I see. Shouldn't be too hard to fix

@wesm wesm closed this in 24394e1 Dec 16, 2012

yarikoptic added a commit to neurodebian/pandas that referenced this issue Dec 20, 2012
Merge tag 'v0.10.0' into debian
Version 0.10.0 final

* tag 'v0.10.0': (27 commits)
  RLS: Version 0.10.0 final
  DOC: rolling window examples pandas-dev#2477
  DOC: wide frame repr examples in dsintro pandas-dev#2477
  DOC: add some licenses, remove b1 qualifier
  BUG: don't fail in PeriodIndex.format when passing formatter. close pandas-dev#2549
  BUG: more memory usage fixes
  BUG: ordering in returned data on an index axis if had a selection filter      e.g. had > 61 fields that were specified in a Term (weird but true)
  BUG: allow perf_HEAD to run off travis
  BLD:  add pytables as dep in VBENCH travis build
  ENH: perf_HEAD cleanups and enhancements
  CLN: modify test_perf to allow import as a module
  CLN: remove redundant assignment
  CLN: remove argument and deprecation warning from internal function
  BUG: remove pdb
  BUG: fix panel bin-grouping aggregation with custom functions. close pandas-dev#2537
  ENH: read_* function header inference. make backwards compatible again with 0.9.x. close pandas-dev#2539
  BUG: handle bytes in regular expression parsing for python 3
  Fix compilation on MSVC, signbit not in math.h
  TST: unit test for groupby apply
  BUG: copy=False on reindex of non_index_axis BUG: incorrect permuting of data orientation on ndim with non-default axe      (e.g. store data in order ['major_axis','labels,'minor_axis']) TST: much more robust tests on ndim indexables different from default
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.