From 59486c7dcff27082d2ae6afee1a0e05dc2e5e1d3 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Wed, 17 Apr 2024 10:10:32 -0700 Subject: [PATCH] Ensure column is name --- fastparquet/test/test_converted_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastparquet/test/test_converted_types.py b/fastparquet/test/test_converted_types.py index ef03dc44..9e11f997 100644 --- a/fastparquet/test/test_converted_types.py +++ b/fastparquet/test/test_converted_types.py @@ -171,7 +171,7 @@ def test_tz_nonstring(tmpdir): def test_tz_zoneinfo(tmpdir): - dti = pd.DatetimeIndex([pd.Timestamp(2020, 1, 1)]).tz_localize(zoneinfo.ZoneInfo("UTC")) + dti = pd.DatetimeIndex([pd.Timestamp(2020, 1, 1)], name="a").tz_localize(zoneinfo.ZoneInfo("UTC")) df = pd.DataFrame({"a": dti}) fn = '{}/{}.parquet'.format(tmpdir, 'zoneinfo_tmp') df.to_parquet(fn, compression='uncompressed', engine='fastparquet')