Skip to content

Commit

Permalink
GH-36412: [Python][CI] Fix deprecation warning about day freq alias w…
Browse files Browse the repository at this point in the history
…ith latest pandas (#44067)

### Rationale for this change

Updating our pandas usage to follow pandas' changes (they are deprecating the `"d"` alias as alternative for `"D"`)

* GitHub Issue: #36412

Authored-by: Joris Van den Bossche <[email protected]>
Signed-off-by: Joris Van den Bossche <[email protected]>
  • Loading branch information
jorisvandenbossche authored Sep 11, 2024
1 parent 27acf8b commit d6198c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -2417,7 +2417,7 @@ def _check_temporal_rounding(ts, values, unit):
"millisecond": "s",
"second": "min",
"minute": "h",
"hour": "d",
"hour": "D",
}
ta = pa.array(ts)

Expand Down

0 comments on commit d6198c0

Please sign in to comment.