home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1250129625

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/7048#issuecomment-1250129625 https://api.github.com/repos/pydata/xarray/issues/7048 1250129625 IC_kwDOAMm_X85Kg3bZ 5635139 2022-09-17T19:38:08Z 2022-09-17T19:38:08Z MEMBER

Here's the diff from pytest-accept (it is weird that it's slightly different on windows...)

```diff commit 83615a94a6b7c0ae0cf0e0240d7705d9ce6c21e5 Author: Maximilian Roos m@maxroos.com Date: Sat Sep 17 12:36:45 2022 -0700

pytest-accept

diff --git a/xarray/core/_reductions.py b/xarray/core/_reductions.py index a7cf7ec2..d0c2a9d7 100644 --- a/xarray/core/_reductions.py +++ b/xarray/core/_reductions.py @@ -97,7 +97,7 @@ def count( <xarray.Dataset> Dimensions: () Data variables: - da int32 5 + da int64 5 """ return self.reduce( duck_array_ops.count, @@ -4400,7 +4400,7 @@ def count(

     >>> da.groupby("labels").count()
     <xarray.DataArray (labels: 3)>
  • array([1, 2, 2], dtype=int64)
  • array([1, 2, 2]) Coordinates: * labels (labels) object 'a' 'b' 'c' """ @@ -5485,7 +5485,7 @@ def count(
     >>> da.resample(time="3M").count()
     <xarray.DataArray (time: 3)>
    
    • array([1, 3, 1], dtype=int64)
    • array([1, 3, 1]) Coordinates:
      • time (time) datetime64[ns] 2001-01-31 2001-04-30 2001-07-31 """ ```
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1376479521
Powered by Datasette · Queries took 0.803ms · About: xarray-datasette