Skip to content

Make merge a function as well as a method #417

Closed
@shoyer

Description

@shoyer

Roughly speaking, this should look like:

from functools import reduce

def merge(datasets, **kwargs):
    return reduce(lambda x, y: x.merge(y, **kwargs), datasets)

We use already use this in auto_combine.

Including it would make for a better user experience that requiring users to write it themselves.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions