code: def ignore_nanwarnings():
      """
      Helper for building a WarningContext that ignores warnings from numpy's
      nanfunctions.
      """
      return WarningContext(
          (
              ("ignore",),
              {
                  "category": RuntimeWarning,
                  "module": "numpy.lib.nanfunctions",
              },
          )
      )
  
imports: from collections import OrderedDict
  from datetime import datetime
  from distutils.version import StrictVersion
  from warnings import catch_warnings, filterwarnings
  import six
  import numpy
  from numpy import array_equal, broadcast, busday_count, datetime64, diff, dtype, empty, flatnonzero, hstack, isnan, nan, vectorize, where
  from numpy.lib.stride_tricks import as_strided
  from toolz import flip
label_desc: Use image node_id 14 for calling a global function with example usage: ignore_nanwarnings() and returns: WarningContext