Skip to content

Consider renaming the "data_vars" and "coords" argument to concat() #10584

@shoyer

Description

@shoyer

What is your issue?

These arguments appear very prominently in the signature for xarray.concat(), but are only relevant for a small subset of users: those who are stacking datasets along a new dimension, and who aren't happy with the default behavior.

It would make sense to give them more descriptive (and obscure) names, perhaps data_vars_policy and coords_policy? And maybe the documentation could be updated to clarify the case in which users need to think about them?

CC @dcherian @jsignell

xref #10062 (which changes the default values for these arguments)

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