home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 484378485

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/2906#issuecomment-484378485 https://api.github.com/repos/pydata/xarray/issues/2906 484378485 MDEyOklzc3VlQ29tbWVudDQ4NDM3ODQ4NQ== 1217238 2019-04-18T06:51:30Z 2019-04-18T06:51:30Z MEMBER

Thanks @dnowacki-usgs !

One minor note -- it's valid (since Python 2.7) to write string formatting with explicit positional indexes, e.g., you could just write '{} {}'.format('one', 'two') rather than '{0} {1}'.format('one', 'two').

I think it's usually a little cleaner to omit the numeric indices, unless you're reusing arguments multiple times or printing the names out of order. (But even in these cases it's usually nicer to use keyword names.)

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