home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 678722063

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/4367#issuecomment-678722063 https://api.github.com/repos/pydata/xarray/issues/4367 678722063 MDEyOklzc3VlQ29tbWVudDY3ODcyMjA2Mw== 1217238 2020-08-23T02:54:04Z 2020-08-23T02:54:04Z MEMBER

Our default line width limit for text repr() is actually already 80 characters. This matches display.width from pandas, and is a little longer than what NumPy uses (75 characters).

You can definitely set a lower line width if you like for rendering repr() when copying and pasting into docstrings, using xarray.set_options.

I don't think we should change this overall, because copying and pasting into docstring is a relatively rare use of repr() compared to printing data in a console.

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