home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 219063079

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/818#issuecomment-219063079 https://api.github.com/repos/pydata/xarray/issues/818 219063079 MDEyOklzc3VlQ29tbWVudDIxOTA2MzA3OQ== 1197350 2016-05-13T14:41:43Z 2016-05-13T14:41:43Z MEMBER

@rabernat It's possibly a better idea to use np.digitize rather than pd.cut.

Why? This was in fact my original idea, but you encouraged me to use pd.cut instead. One thing I like about cut is that it is very flexible and well documented, while digitize is somewhat obscure.

What about ds.groupby_bins('lat', bins=lat_bins, labels=lat_labels) ?

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