Skip to content

Commit

Permalink
Ensure column is name
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Apr 17, 2024
1 parent 2fc02f1 commit 59486c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastparquet/test/test_converted_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 59486c7

Please sign in to comment.