home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 852369352

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/4610#issuecomment-852369352 https://api.github.com/repos/pydata/xarray/issues/4610 852369352 MDEyOklzc3VlQ29tbWVudDg1MjM2OTM1Mg== 35968931 2021-06-01T18:59:37Z 2021-06-01T18:59:37Z MEMBER

For each dataset in what? Do you mean for each input dataarray? I'm proposing an API in which you either pass multiple DataArrays as data (what xhistogram currently accepts), or you can call .histogram() as a method on a single dataset, equivalent to passing in all the data_vars of that one dataset. What would passing multiple datasets to histogram() allow you to do?

If bins is only a dataArray, I cannot have this. Can I?

If bins can be a list of multiple dataarrays then you can have this, right? i.e.

python histogram(da1, da2, bins=[bins_for_da1, bins_for_da2]) where bins_for_da1 is itself an ND xr.DataArray. With that you can have different bins for different data variables, as well as multidimensional bins that can vary over time/quantile etc.

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