class_docstr: Base class for all primitives.
class_docstr_tok: ["Base","class","for","all","primitives","."]
code: def get_description(
      self,
      input_column_descriptions,
      slice_num=None,
      template_override=None,
  ):
      template = template_override or self.description_template
      if template:
          if isinstance(template, list):
              if slice_num is not None:
                  slice_index = slice_num + 1
                  if slice_index < len(template):
                      return template[slice_index].format(
                          *input_column_descriptions,
                          nth_slice=convert_to_nth(slice_index),
                      )
                  else:
                      if len(template) > 2:
                          raise IndexError(
                              "Slice out of range of template"
                          )
                      return template[1].format(
                          *input_column_descriptions,
                          nth_slice=convert_to_nth(slice_index),
                      )
              else:
                  template = template[0]
          return template.format(*input_column_descriptions)
  
      # generic case:
      name = (
          self.name.upper()
          if self.name is not None
          else type(self).__name__
      )
      if slice_num is not None:
          nth_slice = convert_to_nth(slice_num + 1)
          description = "the {} output from applying {} to {}".format(
              nth_slice,
              name,
              ", ".join(input_column_descriptions),
          )
      else:
          description = "the result of applying {} to {}".format(
              name,
              ", ".join(input_column_descriptions),
          )
      return description
  
file_path: featuretools/featuretools/primitives/base/primitive_base.py
imports: import os
  from inspect import signature
  import numpy
  import pandas
  from featuretools import config
  from featuretools.utils.description_utils import convert_to_nth
  from featuretools.utils.gen_utils import Library
label_desc: Use image node_id 10 for calling the PrimitiveBase obj's underlying member method code with example usage: obj.get_description(input_column_descriptions, slice_num, template_override) and returns: description, template, template, template