code: def inverse(x):
          
          try:
              x = [pd.Timedelta(int(i)) for i in x]
          except TypeError:
              x = pd.Timedelta(int(x))
          return x
docs: Transform to Timedelta from numerical format