home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 708339519

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/2139#issuecomment-708339519 https://api.github.com/repos/pydata/xarray/issues/2139 708339519 MDEyOklzc3VlQ29tbWVudDcwODMzOTUxOQ== 145117 2020-10-14T11:25:03Z 2020-10-14T11:25:03Z CONTRIBUTOR

Late reply, but if anyone else finds this issue, I was filling memory with: ds = df.to_xarray(), but if I build the dataset more manually, I have no memory issues:

python ds = xr.Dataset({df.columns[0]: xr.DataArray(data=df[df.columns[0]], dims=['index'], coords={'index':df.index})}) for c in df.columns[1:]: ds[c] = (('index'), df[c])

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