home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 675234132

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/4345#issuecomment-675234132 https://api.github.com/repos/pydata/xarray/issues/4345 675234132 MDEyOklzc3VlQ29tbWVudDY3NTIzNDEzMg== 1217238 2020-08-18T03:54:57Z 2020-08-18T03:54:57Z MEMBER

I don't think it's unusual to document constructor parameters on __init__. For example, that's the recommendation of the Google Python style-guide, followed by most Google Python projects (e.g., TensorFlow). So I think Spyder would be improved by documenting __init__, too.

That said, I don't have any principled reason for deviating from the NumPy docstring standards here. I also agree that the Dataset constructor would be improved by adding usage examples of how to create a Dataset.

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