home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 164937821

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/680#issuecomment-164937821 https://api.github.com/repos/pydata/xarray/issues/680 164937821 MDEyOklzc3VlQ29tbWVudDE2NDkzNzgyMQ== 1217238 2015-12-15T23:46:31Z 2015-12-15T23:46:31Z MEMBER

Yes, I agree!

Right now, we outsource the repr for DataArray values by calling NumPy. So fixing this would entail either forking the formatting logic from NumPy or adding our own wrapper.

One way to do this might to use np.set_printoptions to adjust edgeitems (using something like this context manager), conditional on the dimensionality of the array.

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