home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 668717850

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
668717850 MDU6SXNzdWU2Njg3MTc4NTA= 4290 bool(Dataset(False)) is True 12237157 closed 0     9 2020-07-30T13:23:14Z 2020-08-05T14:25:55Z 2020-08-05T13:48:55Z CONTRIBUTOR      

What happened:

```python v=True bool(xr.DataArray(v)) # True bool(xr.DataArray(v).to_dataset(name='var')) # True

v=False bool(xr.DataArray(v)) # False

unexpected behaviour below

bool(xr.DataArray(v).to_dataset(name='var')) # True ```

What you expected to happen:

python bool(xr.DataArray(False).to_dataset(name='var')) # False

Maybe this is intentional and I dont understand why.

xr.version = '0.16.0'

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4290/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

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