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