code: def is_series(obj):
      """
      Returns True if the given object is a Pandas Series.
  
      Parameters
      ----------
      obj: instance
          The object to test whether or not is a Pandas Series.
      """
      try:
          # This is the best method of type checking
          from pandas import Series
  
          return isinstance(obj, Series)
      except ImportError:
          # Pandas is not a dependency, so this is scary
          return obj.__class__.__name__ == "Series"
  
file_path: yellowbrick/yellowbrick/utils/types.py
imports: import inspect
  import numpy
  from sklearn.base import BaseEstimator
  from yellowbrick.contrib.wrapper import ContribEstimator
label_desc: Use image node_id 8 for calling a global function with example usage: is_series(obj) and returns: isinstance, unknown