home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 904934839

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
904934839 MDExOlB1bGxSZXF1ZXN0NjU2MDQ5NDcx 5394 Allow selecting variables using a list with mixed data types 22245117 closed 0     2 2021-05-28T08:24:23Z 2021-06-21T08:53:29Z 2021-06-12T17:44:05Z CONTRIBUTOR   0 pydata/xarray/pulls/5394
  • [x] Closes #5387
  • [x] Tests added
  • [x] Passes pre-commit run --all-files
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst

Lists passed to __getitem__ are converted to arrays. np.asarray infers the dtype, and for example converts a list with str and int to an array of str. Forcing dtype="O" fixes the issue.

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

Links from other tables

  • 1 row from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.649ms · About: xarray-datasette