⚠️ Nightly upstream-dev CI failed ⚠️

オープン
#11,749 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
numpy, pandas, python
領域
data, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Python
スター
4.2k
フォーク
1.5k
平均マージ
2日 20時間
マージ済み PR(30日)
70

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pydata/xarray のほかの issue

pydata/xarray の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。