home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 544661257 and user = 2448579 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

user 1

  • dcherian · 6 ✖

issue 1

  • apply_ufunc: Add meta kwarg + bump dask to 2.2 · 6 ✖

author_association 1

  • MEMBER 6
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
576795191 https://github.com/pydata/xarray/pull/3660#issuecomment-576795191 https://api.github.com/repos/pydata/xarray/issues/3660 MDEyOklzc3VlQ29tbWVudDU3Njc5NTE5MQ== dcherian 2448579 2020-01-21T17:38:57Z 2020-01-21T17:38:57Z MEMBER

Thanks for the review. I'll merge when tests pass.

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
  apply_ufunc: Add meta kwarg + bump dask to 2.2 544661257
576786205 https://github.com/pydata/xarray/pull/3660#issuecomment-576786205 https://api.github.com/repos/pydata/xarray/issues/3660 MDEyOklzc3VlQ29tbWVudDU3Njc4NjIwNQ== dcherian 2448579 2020-01-21T17:18:09Z 2020-01-21T17:18:09Z MEMBER

ready for review and merge.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  apply_ufunc: Add meta kwarg + bump dask to 2.2 544661257
576448786 https://github.com/pydata/xarray/pull/3660#issuecomment-576448786 https://api.github.com/repos/pydata/xarray/issues/3660 MDEyOklzc3VlQ29tbWVudDU3NjQ0ODc4Ng== dcherian 2448579 2020-01-20T22:28:08Z 2020-01-20T22:28:08Z MEMBER

Ah found it: https://github.com/dask/dask/pull/5334. Missed it when I looked through the changelog earlier.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  apply_ufunc: Add meta kwarg + bump dask to 2.2 544661257
575849980 https://github.com/pydata/xarray/pull/3660#issuecomment-575849980 https://api.github.com/repos/pydata/xarray/issues/3660 MDEyOklzc3VlQ29tbWVudDU3NTg0OTk4MA== dcherian 2448579 2020-01-18T01:05:50Z 2020-01-18T01:05:50Z MEMBER

Does anyone have thoughts on what might be happening here?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  apply_ufunc: Add meta kwarg + bump dask to 2.2 544661257
572635127 https://github.com/pydata/xarray/pull/3660#issuecomment-572635127 https://api.github.com/repos/pydata/xarray/issues/3660 MDEyOklzc3VlQ29tbWVudDU3MjYzNTEyNw== dcherian 2448579 2020-01-09T16:19:11Z 2020-01-09T16:19:11Z MEMBER

min-all-deps fails with this weird error:

```

def test_append_with_new_variable(self):

    ds, ds_to_append, ds_with_new_var = create_append_test_data()

    # check append mode for new variable
    with self.create_zarr_target() as store_target:
        xr.concat([ds, ds_to_append], dim="time").to_zarr(store_target, mode="w")
        ds_with_new_var.to_zarr(store_target, mode="a")
        combined = xr.concat([ds, ds_to_append], dim="time")
        combined["new_var"] = ds_with_new_var["new_var"]
      assert_identical(combined, xr.open_zarr(store_target))

xarray/tests/test_backends.py:1876:


xarray/core/dataset.py:1354: in identical other, "identical" xarray/core/dataset.py:1302: in _all_compat self._variables, other._variables, compat=compat xarray/core/utils.py:338: in dict_equiv if k not in second or not compat(first[k], second[k]): xarray/core/dataset.py:1299: in compat return getattr(x, compat_str)(y) xarray/core/variable.py:1670: in identical other, equiv=equiv xarray/core/variable.py:1647: in equals self._data is other._data or equiv(self.data, other.data) xarray/core/duck_array_ops.py:224: in array_equiv flag_array = (arr1 == arr2) | (isnull(arr1) & isnull(arr2)) /usr/share/miniconda/envs/xarray-tests/lib/python3.6/site-packages/dask/array/core.py:1739: in eq return elemwise(operator.eq, self, other) /usr/share/miniconda/envs/xarray-tests/lib/python3.6/site-packages/dask/array/core.py:3749: in elemwise *blockwise_kwargs /usr/share/miniconda/envs/xarray-tests/lib/python3.6/site-packages/dask/array/blockwise.py:145: in blockwise chunkss, arrays = unify_chunks(args) /usr/share/miniconda/envs/xarray-tests/lib/python3.6/site-packages/dask/array/core.py:3020: in unify_chunks (asanyarray(a) if ind is not None else a, ind) for a, ind in partition(2, args) /usr/share/miniconda/envs/xarray-tests/lib/python3.6/site-packages/dask/array/core.py:3020: in <listcomp> (asanyarray(a) if ind is not None else a, ind) for a, ind in partition(2, args)


a = array(['2019-01-01T00:00:00.000000000', '2019-01-02T00:00:00.000000000', '2019-01-03T00:00:00.000000000', '2019-01-04T00:00:00.000000000', '2019-01-05T00:00:00.000000000'], dtype='datetime64[ns]')

def asanyarray(a):
    """Convert the input to a dask array.

    Subclasses of ``np.ndarray`` will be passed through as chunks unchanged.

    Parameters
    ----------
    a : array-like
        Input data, in any form that can be converted to a dask array.

    Returns
    -------
    out : dask array
        Dask array interpretation of a.

    Examples
    --------
    >>> import dask.array as da
    >>> import numpy as np
    >>> x = np.arange(3)
    >>> da.asanyarray(x)
    dask.array<array, shape=(3,), dtype=int64, chunksize=(3,)>

    >>> y = [[1, 2, 3], [4, 5, 6]]
    >>> da.asanyarray(y)
    dask.array<array, shape=(2, 3), dtype=int64, chunksize=(2, 3)>
    """
    if isinstance(a, Array):
        return a
    elif hasattr(a, "to_dask_array"):
        return a.to_dask_array()
  elif hasattr(a, "data") and type(a).__module__.startswith("xarray."):

E ValueError: cannot include dtype 'M' in a buffer

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  apply_ufunc: Add meta kwarg + bump dask to 2.2 544661257
572615681 https://github.com/pydata/xarray/pull/3660#issuecomment-572615681 https://api.github.com/repos/pydata/xarray/issues/3660 MDEyOklzc3VlQ29tbWVudDU3MjYxNTY4MQ== dcherian 2448579 2020-01-09T15:36:06Z 2020-01-09T15:36:06Z MEMBER

The test failed because meta was not valid for dask==1.2

Our minimum versions policy says we can bump dask to 2.1.0. dask 1.2 (2019-04-13) 2.1 (2019-07-08) <

So I've bumped the min dask version and added meta as a kwarg to apply_ufunc.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  apply_ufunc: Add meta kwarg + bump dask to 2.2 544661257

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 5603.37ms · About: xarray-datasette