home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 592135306

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/pull/3801#issuecomment-592135306 https://api.github.com/repos/pydata/xarray/issues/3801 592135306 MDEyOklzc3VlQ29tbWVudDU5MjEzNTMwNg== 29958771 2020-02-27T19:27:05Z 2020-02-27T19:27:05Z CONTRIBUTOR

I added code to pass the keyword through and handle it in the constructor of the Coarsen classes, and also Rolling because that seemed to be necessary as well. Now the test_dataset version of test_coarsen_keep_attrs fails due to a TypeError in the function nanmean(). The test_variable version fails the same way as before. A run of the whole test_dataset suite shows all the rest are running as they are on master.

This function nanmean() is a child of duck_array_ops._create_nan_agg_method() which seems like it should be happily passing along an arbitrary list of kwargs. The statement in the docstring

None of these functions should accept or return xarray objects.

makes me suspicious that this keep_attrs keyword shouldn't be reaching this section of the code though. Any guidance would be appreciated.

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