code: def drawdown_recov(self, return_int=False):
          
  
          td = self.recov_date() - self.drawdown_end()
          if return_int:
              return td.days
          return td
docs: Length of drawdown recovery in days.
  
          This is the duration from trough to recovery date.
  
          Parameters
          ----------
          return_int : bool, default False
              If True, return the number of days as an int.
              If False, return a Pandas Timedelta object.
  
          Returns
          -------
          int or pandas._libs.tslib.Timedelta