Skip to content

Commit 2d6e61e

Browse files
authored
DEPR: replace for Timedelta deprecated unit 'd' with 'D' in benchmarks (pandas-dev#59083)
replace deprecated unit d with “D”
1 parent 009fe99 commit 2d6e61e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asv_bench/benchmarks/tslibs/timedelta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def time_from_int(self):
2020
Timedelta(123456789)
2121

2222
def time_from_unit(self):
23-
Timedelta(1, unit="d")
23+
Timedelta(1, unit="D")
2424

2525
def time_from_components(self):
2626
Timedelta(

0 commit comments

Comments
 (0)