Utils

dataprofiler.reports.utils.warn_missing_module(graph_func, module_name)

Returns a warning if a given graph module doesn’t exist

Parameters
  • graph_func (str) – Name of the graphing function

  • module_name (str) – module name that was missing

dataprofiler.reports.utils.require_module(names)

Decorator to check if a set of modules exist in sys.modules prior to running the function. If they do not, give a user a warning and do not run the function.

Parameters

names (list[str]) – list of module names to check for in sys.modules