home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1419917480

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/7323#issuecomment-1419917480 https://api.github.com/repos/pydata/xarray/issues/7323 1419917480 IC_kwDOAMm_X85Uojio 83403825 2023-02-06T23:10:39Z 2023-02-06T23:10:39Z NONE

@jhamman yes, I think it's alright to close. The issue seems to arise from the use of .tolist(), having to convert every value to a python float so that it may be retuned in a dictionary as is acceptable for JSON, causing the memory spike.

will try @Illviljan suggestion (thanks!) , to_json calls .compute but not sure if it calls .tolist(), in case it avoids it, that should result in greater memory efficiency.

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