[
https://issues.apache.org/jira/browse/BEAM-12444?focusedWorklogId=610144&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-610144
]
ASF GitHub Bot logged work on BEAM-12444:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Jun/21 07:21
Start Date: 14/Jun/21 07:21
Worklog Time Spent: 10m
Work Description: TheNeuralBit merged pull request #14930:
URL: https://github.com/apache/beam/pull/14930
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 610144)
Time Spent: 1.5h (was: 1h 20m)
> GroupBy.apply on a series grouped by a callable fails
> -----------------------------------------------------
>
> Key: BEAM-12444
> URL: https://issues.apache.org/jira/browse/BEAM-12444
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Affects Versions: 2.29.0, 2.30.0, 2.31.0
> Reporter: Brian Hulette
> Assignee: Brian Hulette
> Priority: P2
> Labels: dataframe-api
> Fix For: 2.32.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> {code}
> df.foo.groupby(lambda x: x % 3).apply(...)
> {code}
> This example fails because it tries to call set_index on a Series. It fails
> at construction time, not at execution time.
> To workaround users can call groupby on a single column dataframe instead,
> e.g. {{df[['foo']].groupby...}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)