home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1001740657

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/6112#issuecomment-1001740657 https://api.github.com/repos/pydata/xarray/issues/6112 1001740657 IC_kwDOAMm_X847tVlx 25071375 2021-12-27T20:27:16Z 2021-12-27T20:27:16Z CONTRIBUTOR

Two questions: 1. Is possible to set the array used for the test_push_dask as np.array([np.nan, 1, 2, 3, np.nan, np.nan, np.nan, np.nan, 4, 5, np.nan, 6])?, using that array you can validate the test case that I put on this issue without creating another array (It's the original array but permuted). 2. Can I erase the conditional that checks for the case where all the chunks have size 1?, I think that with the new method that is not necessary. py # I think this is only necessary due to the use of the map_overlap of the previous method. if all(c == 1 for c in array.chunks[axis]): array = array.rechunk({axis: 2})

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