home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 230214809

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
230214809 MDU6SXNzdWUyMzAyMTQ4MDk= 1418 Indexing time with lists 10050469 closed 0     3 2017-05-21T11:38:11Z 2019-06-29T01:58:33Z 2019-06-29T01:58:33Z MEMBER      

Is this a bug? Look the following example:

```python ds = xr.tutorial.load_dataset('air_temperature')

ds.sel(time='2013-01-01T00:00') # works fine [output removed]

ds.sel(time=['2013-01-01T00:00']) # errors Traceback (most recent call last): File "/home/mowglie/.pycharm-community-2017.1/helpers/pydev/_pydevd_bundle/pydevd_exec2.py", line 3, in Exec exec(exp, global_vars, local_vars) File "", line 1, in <module> File "/home/mowglie/Documents/git/xarray-official/xarray/core/dataset.py", line 1206, in sel self, indexers, method=method, tolerance=tolerance File "/home/mowglie/Documents/git/xarray-official/xarray/core/indexing.py", line 290, in remap_label_indexers dim, method, tolerance) File "/home/mowglie/Documents/git/xarray-official/xarray/core/indexing.py", line 229, in convert_label_indexer % index_name) KeyError: "not all values found in index 'time'" ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1418/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 3 rows from issues_id in issues_labels
  • 3 rows from issue in issue_comments
Powered by Datasette · Queries took 1.155ms · About: xarray-datasette