From be56c9beaf71d05786d563a50d2952e4fb640700 Mon Sep 17 00:00:00 2001 From: Navron4500 Date: Sat, 19 Dec 2020 13:57:56 +0530 Subject: [PATCH] DOC:fix of DOCUMENTATION --- pandas/_libs/tslibs/timedeltas.pyx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx index e4b19d844dcab..bc7def817c973 100644 --- a/pandas/_libs/tslibs/timedeltas.pyx +++ b/pandas/_libs/tslibs/timedeltas.pyx @@ -1091,11 +1091,9 @@ cdef class _Timedelta(timedelta): >>> td.isoformat() 'P6DT0H50M3.010010012S' >>> pd.Timedelta(hours=1, seconds=10).isoformat() - 'P0DT0H0M10S' - >>> pd.Timedelta(hours=1, seconds=10).isoformat() - 'P0DT0H0M10S' + 'P0DT1H0M10S' >>> pd.Timedelta(days=500.5).isoformat() - 'P500DT12H0MS' + 'P500DT12H0M0S' """ components = self.components seconds = (f'{components.seconds}.'