home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 499958420

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/3004#issuecomment-499958420 https://api.github.com/repos/pydata/xarray/issues/3004 499958420 MDEyOklzc3VlQ29tbWVudDQ5OTk1ODQyMA== 21049064 2019-06-07T16:50:36Z 2019-06-07T16:50:36Z NONE

Why does the number of bin labels have to be one less than the number of bins?

``` bin_labels = ['20', '40', '60', '80', '100'] decile_index_gpby = rank_norm.groupby_bins('rank_norm', bins=bins, labels=bin_labels)

Out[]: ValueError: Bin labels must be one fewer than the number of bin edges ```

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