home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1026641184

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/6226#issuecomment-1026641184 https://api.github.com/repos/pydata/xarray/issues/6226 1026641184 IC_kwDOAMm_X849MU0g 10194086 2022-02-01T09:34:48Z 2022-02-01T09:34:48Z MEMBER

Smaller repro

python import xarray as xr import pickle t = xr.cftime_range("20010101", "20010520") pickle.loads(pickle.dumps(t)) Looks like pandas now passes dtype on to __new__ which CFTimeIndex.__new__ does not accept:

https://github.com/pydata/xarray/blob/fe491b14b113c185b5b9a18e4f643e5a73208629/xarray/coding/cftimeindex.py#L313

Might be pandas-dev/pandas#43188. So CFTimeIndex.__new__ might need to accept dtype? @spencerkclark

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1120276279
Powered by Datasette · Queries took 0.708ms · About: xarray-datasette