Describe the bug, including details regarding any error messages, version, and platform.
Nightly pandas jobs are failing due to AssertionError in pyarrow/tests/test_pandas.py:
def test_table_column_subset_metadata(self):
# ARROW-1883
# non-default index
for index in [
pd.Index(['a', 'b', 'c'], name='index'),
pd.date_range("2017-01-01", periods=3, tz='Europe/Brussels')]:
df = pd.DataFrame({'a': [1, 2, 3],
'b': [.1, .2, .3]}, index=index)
table = pa.Table.from_pandas(df)
table_subset = table.remove_column(1)
result = table_subset.to_pandas()
expected = df[['a']]
if isinstance(df.index, pd.DatetimeIndex):
df.index.freq = None
> tm.assert_frame_equal(result, expected)
E AssertionError: (None, <Day>)
See: https://github.com/ursacomputing/crossbow/actions/runs/25352255483/job/74334226712#step:6:4296
Component(s)
Continuous Integration, Python
Describe the bug, including details regarding any error messages, version, and platform.
Nightly pandas jobs are failing due to
AssertionErrorinpyarrow/tests/test_pandas.py:See: https://github.com/ursacomputing/crossbow/actions/runs/25352255483/job/74334226712#step:6:4296
Component(s)
Continuous Integration, Python