pull_requests: 240772434
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
240772434 | MDExOlB1bGxSZXF1ZXN0MjQwNzcyNDM0 | 2630 | closed | 0 | Fix failure in time encoding for pandas < 0.21.1 | 6628425 | - [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) ``` | 2018-12-24T13:03:42Z | 2018-12-24T15:58:21Z | 2018-12-24T15:58:03Z | 2018-12-24T15:58:03Z | 7fcb80f9865a7ade1b9c2f3d48bf0d31d6672bdb | 0 | 81288daeecb2e5bf7bd9979bb00047e3d72304bd | b5059a538ee2efda4d753cc9a49f8c09cd026c19 | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/2630 |
Links from other tables
- 0 rows from pull_requests_id in labels_pull_requests