⚠️ Nightly upstream-dev CI failed ⚠️

Đang mở
#11,749 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
numpy, pandas, python
Lĩnh vực
data, testing

Hướng nghiên cứu

Start with xarray/tests/test_groupby.py::test_groupby_bins_datetime_mean and inspect the failing test and the groupby bin mean implementation it exercises. Reproduce the failure from the linked workflow run or run that test locally; done means the test passes while preserving the expected datetime mean behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

CI upstream issue

Workflow Run URL

Python 3.13 Test Summary
xarray/tests/backends/test_api.py::TestGenericNetCDFData::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_datatree.py::TestNetCDF4DataTree::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrWriteEmpty::test_roundtrip_endian[2]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrWriteEmpty::test_roundtrip_endian[3]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_netCDF4.py::TestNetCDF4Data::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_netCDF4.py::TestNetCDF4ViaDaskData::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_netCDF4.py::TestNetCDF3ViaNetCDF4Data::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_netCDF4.py::TestNetCDF4ClassicViaNetCDF4Data::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_scipy.py::TestScipyInMemoryData::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_scipy.py::TestScipyFileObject::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_scipy.py::TestScipyFilePath::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrDictStore::test_roundtrip_endian[2]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrDictStore::test_roundtrip_endian[3]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrNoConsolidatedMetadataSupport::test_roundtrip_endian[2]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrNoConsolidatedMetadataSupport::test_roundtrip_endian[3]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/test_concat.py::TestConcatDataset::test_concat_simple[dim1-True-different]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
R   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
xarray/tests/test_concat.py::TestConcatDataset::test_concat_simple[dim1-True-minimal]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
R   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
xarray/tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrDirectoryStore::test_roundtrip_endian[2]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrDirectoryStore::test_roundtrip_endian[3]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/test_merge.py::TestMergeFunction::test_merge_datasets[False]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
R   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
xarray/tests/test_merge.py::TestNewDefaults::test_merge_datasets_false_warning: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
R   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
xarray/tests/test_missing.py::test_interpolate_pd_compat_non_uniform_index: AssertionError: 
Not equal to tolerance rtol=1e-07, atol=0

Mismatched elements: 1 / 10000 (0.01%)
Mismatch at index:
 [67, 62]: -9.762716328576282e-06 (ACTUAL), -9.76271479558033e-06 (DESIRED)
Max absolute difference among violations: 1.53299595e-12
Max relative difference among violations: 1.5702558e-07
 ACTUAL: array([[-1.423825,  1.263728, -0.870662, ...,       nan, -0.965479,
         0.360035],
       [-0.244553, -1.995857, -0.155248, ...,  0.216059, -0.964824,...
 DESIRED: array([[-1.423825,  1.263728, -0.870662, ...,       nan, -0.965479,
         0.360035],
       [-0.244553, -1.995857, -0.155248, ...,  0.216059, -0.964824,...
properties/test_pandas_roundtrip.py::test_roundtrip_1d_pandas_extension_array[True-pyarrow]: TypeError: 'ArrowExtensionArray' with dtype bool[pyarrow] does not support operation 'all' with pyarrow version 27.0.0.dev151. 'all' may be supported by upgrading pyarrow.
properties/test_pandas_roundtrip.py::test_roundtrip_1d_pandas_extension_array[False-pyarrow]: TypeError: 'ArrowExtensionArray' with dtype bool[pyarrow] does not support operation 'all' with pyarrow version 27.0.0.dev151. 'all' may be supported by upgrading pyarrow.
Ngôn ngữ chính
Python
Star
4.2k
Fork
1.5k
Merge trung bình
2 ngày 20 giờ
Pull request đã merge (30 ngày)
70

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pydata/xarray

Tất cả issue của pydata/xarray

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.