issues: 525903846
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
525903846 | MDU6SXNzdWU1MjU5MDM4NDY= | 3552 | Dataset.drop() no longer works with a set as an argument | 4179064 | closed | 0 | 15 | 2019-11-20T16:08:18Z | 2020-01-14T16:13:24Z | 2020-01-14T16:13:24Z | NONE | MCVE Code Sample```python Your code here!/usr/bin/env pythonimport xarray import numpy ds = xarray.Dataset() ds['x'] = ('x', numpy.linspace(0., 1., 100)) ds['y'] = ('y', numpy.linspace(0., 1., 50)) print(ds) ds = ds.drop(set('x')) print(ds) ``` Expected Output
Problem DescriptionIn versions before xarray 0.14.1, the code above involving calls to
Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3552/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |