issues: 2188936276
This data as json
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2188936276 | I_kwDOAMm_X86CeIRU | 8843 | Get ready for pandas 3 copy-on-write | 2448579 | closed | 0 | 2 | 2024-03-15T15:51:36Z | 2024-03-18T16:00:14Z | 2024-03-18T16:00:14Z | MEMBER | What is your issue?This line fails with We'll need to fix this before Pandas 3 is released in April: https://github.com/pydata/xarray/blob/c9d3084e98d38a7a9488380789a8d0acfde3256f/xarray/tests/init.py#L329 Here's a test ```python def example(): obj = Dataset() obj["dim2"] = ("dim2", 0.5 * np.arange(9)) obj["time"] = ("time", pd.date_range("2000-01-01", periods=20) print({k: v.data.flags for k, v in obj.variables.items()}) return obj example() pd.set_options("mode.copy_on_write", True) example() ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8843/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |