code: def add_hist_seq(
      df, cols, user_col, sort_col, min_len, max_len, num_seqs
  ):
      return callZooFunc(
          "float",
          "addHistSeq",
          df,
          cols,
          user_col,
          sort_col,
          min_len,
          max_len,
          num_seqs,
      )
  
imports: from zoo.common.utils import callZooFunc
  from pyspark.sql.types import IntegerType, ShortType, LongType, FloatType, DecimalType, DoubleType
label_desc: Use image node_id 12 for calling a global function with example usage: add_hist_seq(df, cols, user_col, sort_col, min_len, max_len, num_seqs) and returns: callZooFunc