-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
API: User-control of result keys in GroupBy.apply #34998
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
Changes from 1 commit
0fa2104
13a38a2
ebb2a2d
f8d646f
623526c
6871ed0
00ce5dc
c28f176
c0b1140
cfd4d73
c05b1ea
919a4c7
4a45ea0
7f1478f
a1d4da8
9c229c6
f1a570b
7520dd3
914c7cf
7fd1a07
29f79ce
76e6873
7f5cd0d
d21dfb8
6e253c3
8efe632
bda914e
3789fd7
80c789e
c4f6e2d
d123a80
9cb58a3
3421402
2e59629
8fd0de5
13965b2
bfb854e
244fec6
7469b29
16e0f5f
4173a32
cd112cd
d984e9e
b6af0da
8e46a6e
d745c4a
23caf8e
b9b2e53
3d4a744
4d984d9
5d12ba4
20d8520
cb9217a
7cf051a
e0972fc
ad0f292
b3c8d53
08ae03f
f055193
d4f24a6
c1953e6
47dec36
74b98e1
a547d63
20d7663
c3bccb3
7f7ee52
4f652a9
499ecd4
d1f2d29
45cd980
c3f8258
804312a
a7d5a0e
a5ce219
15b1556
d3de668
f80c4c0
62c42e8
bf4b126
565791a
2b02b6f
3e175f9
7f3cc48
0c0b2c5
f46c59a
27ed908
1200c55
d4a36b7
c84fa45
2912d88
f3d94a8
1bd1e0e
39d54fc
808efc4
215d9a8
0c8274c
c312e90
30d0f23
1c01624
14b9b0f
09da38e
d771ae1
cb4bed6
4ea1550
eace964
6407abd
deb5479
a0fd04c
f9aa547
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -910,6 +910,8 @@ def _python_apply_general( | |
if (not not_indexed_same and self.group_keys is lib.no_default) and not ( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you comment here on when this is hit (in words) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When all of the following are true:
I am wondering if instead of the last bullet, we should just not warn/override on any empty result. Will investigate. |
||
is_transform or is_empty_agg | ||
): | ||
# We've detected value-dependent behavior: the result's index depends on | ||
# whether the user's function `f` returned the same index or not. | ||
if self.ndim == 1: | ||
stacklevel = 4 | ||
elif self._selection is None: | ||
|
Uh oh!
There was an error while loading. Please reload this page.