home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1272542780

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/7146#issuecomment-1272542780 https://api.github.com/repos/pydata/xarray/issues/7146 1272542780 IC_kwDOAMm_X85L2XY8 14808389 2022-10-09T13:26:25Z 2022-10-09T13:26:25Z MEMBER

with this: python ds2 = ds.time.dt.strftime("%Y%m%d%H%M%S").str.encode("utf-8").to_dataset().assign(d1=ds.d1) but we don't really need to check if the first dataset already fails.

Now I'd probably check if it's just the size that makes it fail (i.e. remove "time" from ds and keep just d1 while maybe increasing it by one if it does not fail as-is), or if it depends on the dtype (i.e. replace set time_vals to np.arange(N_TIMES, dtype=int)).

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