home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 300640372

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/939#issuecomment-300640372 https://api.github.com/repos/pydata/xarray/issues/939 300640372 MDEyOklzc3VlQ29tbWVudDMwMDY0MDM3Mg== 12307589 2017-05-10T23:26:57Z 2017-05-10T23:26:57Z CONTRIBUTOR

I would disagree with the form open_dataset(filename, decode_options=kwargs) over open_dataset(filename, **kwargs), because the former breaks normal Python style. It would make the documentation for the arguments somewhat awkward ("decode_options is a dictionary which can have any of the following keys [...]"). It also forces the user to use a dictionary instead of having the option to use a dictionary or the regular style of entering kwargs.

What do you mean when you say it's easier to do error checking on field names and values? The xarray implementation can still use fields instead of a dictionary, with the user saying open_dataset(filename, **kwargs) if they feel like it. I think I'm not understanding something here.

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