issues
3 rows where repo = 13221727, type = "issue" and user = 2272878 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date), closed_at (date)
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at ▲ | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
578736255 | MDU6SXNzdWU1Nzg3MzYyNTU= | 3855 | `rolling.mean` gives negative values on non-negative array. | toddrjen 2272878 | closed | 0 | 6 | 2020-03-10T17:13:46Z | 2023-11-14T08:25:58Z | 2020-03-10T18:51:13Z | CONTRIBUTOR | When doing a rolling mean on an array with no negative values, the result somehow contains negative values anyway. This shouldn't be possible, since the mean of non-negative values can never be zero. Further, it only happens when using the MCVE Code SampleTake the following xarray ```Python import numpy as np import scipy as sp import xarray as xr soundlen=10000 np.random.seed(1) noise = np.random.randn(soundlen) noise = sp.signal.hann(soundlen) noise2 = noise*2 xnoise = xr.DataArray(noise2, dims='temp', coords={'temp': np.arange(soundlen)}) print(xnoise.min()) ``` The result is Using ```Python
Similarly, using
However, using the
This mathematically shouldn't be possible. Versions
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3855/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
594790230 | MDU6SXNzdWU1OTQ3OTAyMzA= | 3940 | ENH: Support more of the pandas str accessors | toddrjen 2272878 | closed | 0 | 1 | 2020-04-06T04:18:32Z | 2021-03-11T17:49:32Z | 2021-03-11T17:49:32Z | CONTRIBUTOR | Currently pandas supports a lot of str accessors that xarray doesn't. Many of them have useful functionality. I think it would be good if the xarray had more of these str accessors. I would be willing to begin working on this. There seem to be three categories. One that has a one-to-one mapping between input and output (so one input element becomes one output element), and one that has a one-to-many mapping (one input element becomes multiple output elements), and one that has a many-to-one mapping (multiple input elements become one output element). Exactly how the one-to-many mapping should be handling, if at all, is an open issue. Some of the many-to-one mappings (specifically One-to-one
One-to-many
Many-to-one
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3940/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
588821932 | MDU6SXNzdWU1ODg4MjE5MzI= | 3899 | _indexes of DataArray are not deep copied | toddrjen 2272878 | closed | 0 | 4 | 2020-03-27T01:19:07Z | 2020-03-29T02:01:20Z | 2020-03-29T02:01:20Z | CONTRIBUTOR | In MCVE Code Sample```python a0 = xr.DataArray( np.array([[1, 2, 3], [4, 5, 6]]), dims=["y", "x"], coords={"x": ["a", "b", "c"], "y": [-1, 1]}, ) a1 = a0.copy() del a1.coords["y"] xr.tests.assert_identical(a0, a0) ``` The result is: ``` xarray/testing.py:272: in _assert_internal_invariants _assert_dataarray_invariants(xarray_obj) xarray/testing.py:222: in _assert_dataarray_invariants _assert_indexes_invariants_checks(da._indexes, da._coords, da.dims) indexes = {'x': Index(['a', 'b', 'c'], dtype='object', name='x')}, possible_coord_variables = {'x': <xarray.IndexVariable 'x' (x: 3)> array(['a', 'b', 'c'], dtype='<U1'), 'y': <xarray.IndexVariable 'y' (y: 2)> array([-1, 1])} dims = ('y', 'x')
xarray/testing.py:185: AssertionError ``` Expected OutputThe test should pass. Problem DescriptionDoing a deep copy should make a copy of everything. Changing a deep copy should not alter the original in any way. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3899/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issues] ( [id] INTEGER PRIMARY KEY, [node_id] TEXT, [number] INTEGER, [title] TEXT, [user] INTEGER REFERENCES [users]([id]), [state] TEXT, [locked] INTEGER, [assignee] INTEGER REFERENCES [users]([id]), [milestone] INTEGER REFERENCES [milestones]([id]), [comments] INTEGER, [created_at] TEXT, [updated_at] TEXT, [closed_at] TEXT, [author_association] TEXT, [active_lock_reason] TEXT, [draft] INTEGER, [pull_request] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [state_reason] TEXT, [repo] INTEGER REFERENCES [repos]([id]), [type] TEXT ); CREATE INDEX [idx_issues_repo] ON [issues] ([repo]); CREATE INDEX [idx_issues_milestone] ON [issues] ([milestone]); CREATE INDEX [idx_issues_assignee] ON [issues] ([assignee]); CREATE INDEX [idx_issues_user] ON [issues] ([user]);