home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 365143140

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
365143140 MDExOlB1bGxSZXF1ZXN0MjE5MTU0NDk5 2448 Fix FutureWarning resulting from CFTimeIndex.date_type 6628425 closed 0     1 2018-09-29T15:48:16Z 2018-09-30T13:17:11Z 2018-09-30T13:16:49Z MEMBER   0 pydata/xarray/pulls/2448

With the latest version of pandas, checking the date_type of a CFTimeIndex produces a FutureWarning: ``` In [1]: import xarray as xr

In [2]: times = xr.cftime_range('2000', periods=5)

In [3]: times.date_type /Users/spencerclark/xarray-dev/xarray/xarray/coding/cftimeindex.py:161: FutureWarning: CFTimeIndex.data is deprecated and will be removed in a future version if self.data: Out[3]: cftime._cftime.DatetimeProlepticGregorian `` I think it was a typo to begin with to useself.dataincftimeindex.get_date_type(my mistake). Here I switch to usingself._data`, which is used elsewhere when internally referencing values of the index.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2448/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 559.828ms · About: xarray-datasette