code: def convert_timedelta_to_floats(x):
      first = int(x.iloc[0].total_seconds())
      dividend = find_dividend_by_unit(first)
      x = (
          pd.TimedeltaIndex(x).total_seconds().astype(np.float64)
          / dividend
      )
      return x
  
file_path: featuretools/featuretools/utils/time_utils.py
imports: from datetime import datetime, timedelta
  import numpy
  import pandas
label_desc: Use image node_id 4 for calling a global function with example usage: convert_timedelta_to_floats(x) and returns: x