home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 585494486 and user = 6628425 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • spencerkclark · 2 ✖

issue 1

  • Re-enable tests xfailed in #3808 and fix new CFTimeIndex failures due to upstream changes · 2 ✖

author_association 1

  • MEMBER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
602046357 https://github.com/pydata/xarray/pull/3874#issuecomment-602046357 https://api.github.com/repos/pydata/xarray/issues/3874 MDEyOklzc3VlQ29tbWVudDYwMjA0NjM1Nw== spencerkclark 6628425 2020-03-21T13:53:09Z 2020-03-21T13:53:45Z MEMBER

5f37fd4 fixes the additional failures I described in https://github.com/pydata/xarray/pull/3874#issuecomment-602044048. They seem to be related to https://github.com/pandas-dev/pandas/pull/32568. @jbrockmendel, does 5f37fd4 seem like the correct fix to you?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Re-enable tests xfailed in #3808 and fix new CFTimeIndex failures due to upstream changes 585494486
602044048 https://github.com/pydata/xarray/pull/3874#issuecomment-602044048 https://api.github.com/repos/pydata/xarray/issues/3874 MDEyOklzc3VlQ29tbWVudDYwMjA0NDA0OA== spencerkclark 6628425 2020-03-21T13:33:10Z 2020-03-21T13:33:10Z MEMBER

Hmm...the upstream-dev CI environment does not seem to be using the latest version of pandas. The failures don't seem to reflect the fact that https://github.com/pandas-dev/pandas/pull/32684 was merged.

Testing locally with pandas master, I'm actually getting some new failures related to CFTimeIndex, e.g.: ``` ______ testconcat_cftimeindex[proleptic_gregorian] ________

date_type = <class 'cftime._cftime.DatetimeProlepticGregorian'>

@requires_cftime
def test_concat_cftimeindex(date_type):
    da1 = xr.DataArray(
      [1.0, 2.0], coords=[[date_type(1, 1, 1), date_type(1, 2, 1)]], dims=["time"]
    )

test_cftimeindex.py:670:


../core/dataarray.py:344: in init coords, dims = _infer_coords_and_dims(data.shape, coords, dims) ../core/dataarray.py:165: in _infer_coords_and_dims assert_unique_multiindex_level_names(new_coords) ../core/variable.py:2390: in assert_unique_multiindex_level_names idx_level_names = var.to_index_variable().level_names ../core/variable.py:2252: in level_names index = self.to_index() ../core/variable.py:2244: in to_index index = index.set_names(self.name) ../../../pandas/pandas/core/indexes/base.py:1291: in set_names idx = self._shallow_copy()


self = CFTimeIndex([0001-01-01 00:00:00, 0001-02-01 00:00:00], dtype='object'), values = None, name = None

def _shallow_copy(self, values=None, name: Label = no_default):
    """
    Create a new Index with the same class as the caller, don't copy the
    data, use the same object attributes with passed in attributes taking
    precedence.

    *this is an internal non-public method*

    Parameters
    ----------
    values : the values to create the new Index, optional
    name : Label, defaults to self.name
    """
    name = self.name if name is no_default else name
  cache = self._cache.copy() if values is None else {}

E AttributeError: 'CFTimeIndex' object has no attribute '_cache'

../../../pandas/pandas/core/indexes/base.py:500: AttributeError ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Re-enable tests xfailed in #3808 and fix new CFTimeIndex failures due to upstream changes 585494486

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 24.603ms · About: xarray-datasette