class_docstr: Base class for all primitives.
class_docstr_tok: ["Base","class","for","all","primitives","."]
code: def get_arguments(self):
      values = []
  
      args = signature(self.__class__).parameters.items()
      for name, arg in args:
          # assert that arg is attribute of primitive
          error = '"{}" must be attribute of {}'
          assert hasattr(self, name), error.format(
              name, self.__class__.__name__
          )
  
          value = getattr(self, name)
          # check if args are the same type
          if isinstance(value, type(arg.default)):
              # skip if default value
              if arg.default == value:
                  continue
  
          values.append((name, value))
  
      return values
  
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 9 for calling the PrimitiveBase obj's underlying member method code with example usage: obj.get_arguments() and returns: values