Skip to content

Commit 03e1c89

Browse files
authored
DOC:fix of DOCUMENTATION (pandas-dev#38579)
1 parent c39773e commit 03e1c89

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/_libs/tslibs/timedeltas.pyx

+2-4
Original file line numberDiff line numberDiff line change
@@ -1091,11 +1091,9 @@ cdef class _Timedelta(timedelta):
10911091
>>> td.isoformat()
10921092
'P6DT0H50M3.010010012S'
10931093
>>> pd.Timedelta(hours=1, seconds=10).isoformat()
1094-
'P0DT0H0M10S'
1095-
>>> pd.Timedelta(hours=1, seconds=10).isoformat()
1096-
'P0DT0H0M10S'
1094+
'P0DT1H0M10S'
10971095
>>> pd.Timedelta(days=500.5).isoformat()
1098-
'P500DT12H0MS'
1096+
'P500DT12H0M0S'
10991097
"""
11001098
components = self.components
11011099
seconds = (f'{components.seconds}.'

0 commit comments

Comments
 (0)