home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 393878051

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
393878051 MDExOlB1bGxSZXF1ZXN0MjQwNzcyNDM0 2630 Fix failure in time encoding for pandas < 0.21.1 6628425 closed 0     1 2018-12-24T13:03:42Z 2018-12-24T15:58:21Z 2018-12-24T15:58:03Z MEMBER   0 pydata/xarray/pulls/2630
  • [x] Closes #2623
  • [x] Tests added
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API

This is related to a bug fixed in https://github.com/pandas-dev/pandas/pull/18020#issuecomment-340477318 (this should return a TimedeltaIndex): ``` In [2]: times = pd.date_range('2000', periods=3)

In [3]: times - np.datetime64('2000-01-01') Out[3]: DatetimeIndex(['1970-01-01', '1970-01-02', '1970-01-03'], dtype='datetime64[ns]', freq='D') Subtracting a `Timestamp` object seems to work in all versions: In [4]: times - pd.Timestamp('2000-01-01') Out[4]: TimedeltaIndex(['0 days', '1 days', '2 days'], dtype='timedelta64[ns]', freq=None) ```

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

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