home / github / pull_requests

Menu
  • GraphQL API
  • Search all tables

pull_requests: 114680372

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
114680372 MDExOlB1bGxSZXF1ZXN0MTE0NjgwMzcy 1356 closed 0 Add DatetimeAccessor for accessing datetime fields via `.dt` attribute 4992424 - [x] Partially closes #358 - [x] tests added / passed - [x] passes ``git diff upstream/master | flake8 --diff`` - [x] whatsnew entry This uses the `register_dataarray_accessor` to add attributes similar to those in pandas` timeseries which let the users quickly access datetime fields from an underlying array of datetime-like values. The referenced issue (#358) also asks about adding similar accessors for `.str`, but this is a more complex topic - I think a compelling use-case would help in figuring out what the critical functionality is ## Virtual time fields Presumably this could be used to augment `Dataset._get_virtual_variable()`. A **season** field would need to be added as a special field to the accessor. 2017-04-06T19:48:19Z 2017-04-29T01:19:12Z 2017-04-29T01:18:59Z 2017-04-29T01:18:59Z 8f6a68e3f821689203bce2bce52b412e9fe70b5c     0 b2863139ec3bc437030a48ff33a54d68ca91b026 ab4ffee919d4abe9f6c0cf6399a5827c38b9eb5d NONE   13221727 https://github.com/pydata/xarray/pull/1356  

Links from other tables

  • 0 rows from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 0.835ms