Skip to content

Conversation

rhshadrach
Copy link
Member

  • Ensure all linting tests pass, see here for how to run them

Ref: #39935 (comment)

Doing e.g.

print(DataFrame({'a': [1, 2, 3], 'b': [4, 5, 6]}).apply('sum'))
print(DataFrame({'a': [1, 2, 3], 'b': [4, 5, 6]}).agg('sum'))

produce a Series with name=None. This was introduced in 1.3, so does not need a whatsnew.

@rhshadrach rhshadrach added Bug Apply Apply, Aggregate, Transform, Map labels Jun 16, 2021
@rhshadrach rhshadrach added this to the 1.3 milestone Jun 16, 2021
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm merge and backport on greenish

@rhshadrach
Copy link
Member Author

@jreback greenish; failure is unrelated

FAILED pandas/tests/indexes/numeric/test_numeric.py::TestUInt64Index::test_constructor_does_not_cast_to_float
= 1 failed, 170123 passed, 6374 skipped, 874 xfailed, 6 xpassed, 352 warnings in 1414.92s (0:23:34) =

@simonjayhawkins
Copy link
Member

@jreback greenish; failure is unrelated

FAILED pandas/tests/indexes/numeric/test_numeric.py::TestUInt64Index::test_constructor_does_not_cast_to_float
= 1 failed, 170123 passed, 6374 skipped, 874 xfailed, 6 xpassed, 352 warnings in 1414.92s (0:23:34) =

now fixed.

@simonjayhawkins simonjayhawkins merged commit 4da0577 into pandas-dev:master Jun 16, 2021
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Jun 16, 2021
@simonjayhawkins
Copy link
Member

Thanks @rhshadrach

@rhshadrach rhshadrach deleted the size_no_name branch June 16, 2021 11:40
jreback pushed a commit that referenced this pull request Jun 16, 2021
…' with agg/apply (#42051)

Co-authored-by: Richard Shadrach <45562402+rhshadrach@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Apply Apply, Aggregate, Transform, Map Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants