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/3715#issuecomment-1101029273,https://api.github.com/repos/pydata/xarray/issues/3715,1101029273,IC_kwDOAMm_X85BoF-Z,5635139,2022-04-18T02:18:47Z,2022-04-18T02:18:47Z,MEMBER,"I think we can close as upstream, please reopen if that's not the case","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,553672182
https://github.com/pydata/xarray/issues/3715#issuecomment-680398920,https://api.github.com/repos/pydata/xarray/issues/3715,680398920,MDEyOklzc3VlQ29tbWVudDY4MDM5ODkyMA==,5635139,2020-08-26T01:04:06Z,2020-08-26T01:04:06Z,MEMBER,"@DancingQuanta someone pointed me towards this issue — did you happen to make any progress on this / post an issue on scipy?
As per your issue, while this isn't an ideal workaround, this does work:
```python
def process_peaks(arr):
# Apply find_peaks
arr = arr.copy() <- # added
peaks, _ = find_peaks(arr, prominence=1)
return peaks
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,553672182