Skip to content

GroupBy.apply calling function twice #10519

Closed
@cancan101

Description

@cancan101
def foo(x):
    print "hello"
_ = pd.DataFrame({'a':[1]}).groupby(["a"]).apply(foo)
hello
hello

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions