home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 279958650

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
279958650 MDU6SXNzdWUyNzk5NTg2NTA= 1766 Pandas has deprecated the TimeGrouper 2443309 closed 0     0 2017-12-07T00:40:11Z 2017-12-07T01:33:29Z 2017-12-07T01:33:29Z MEMBER      

Code Sample, a copy-pastable example if possible

python da.resample(time='MS').sum('time')

Problem description

Pandas has deprecated the TimeGrouper class (https://github.com/pandas-dev/pandas/issues/16747) and that warning has started popping out during xarray resample operations. We can make this go away quite easily. (I'll submit a PR shortly).

Output of xr.show_versions()

In [2]: xr.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.6.0.final.0 python-bits: 64 OS: Darwin OS-release: 16.7.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 xarray: 0.9.6-75-g246c352 pandas: 0.21.0 numpy: 1.13.3 scipy: 0.19.1 netCDF4: 1.3.0 h5netcdf: 0.5.0 Nio: None bottleneck: 1.2.1 cyordereddict: None dask: 0.15.4 matplotlib: 2.0.2 cartopy: 0.15.1 seaborn: 0.8.1 setuptools: 33.1.0.post20170122 pip: 9.0.1 conda: None pytest: 3.2.3 IPython: 5.2.2 sphinx: 1.6.3
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1766/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

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