Skip to content

TST: add test for converting 0-len Series #697

Description

@jreback

are these supported?

In [3]: xray.DataArray.from_series(Series([]))
ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1

In [5]: xray.Dataset.from_dataframe(DataFrame({'A' : []}))
ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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