code: def ignore_numpy_bool8_deprecation():
      # This warning comes from inside `pandas`. We can't do anything about it, so we ignore the warning.
      # Note it's been fixed upstream in `pandas` https://github.com/pandas-dev/pandas/pull/49886.
      with warnings.catch_warnings():
          warnings.filterwarnings(
              "ignore",
              category=DeprecationWarning,
              message="`np.bool8` is a deprecated alias for `np.bool_`",
          )
          yield
  
imports: from __future__ import annotations
  import contextlib
  import warnings
  import numpy
  import pandas
  import pytest
  from packaging.version import parse
  import dask.dataframe
  from dask.dataframe._compat import PANDAS_VERSION, tm
  from dask.dataframe.reshape import _get_dummies_dtype_default
  from dask.dataframe.utils import assert_eq, make_meta
label_desc: Use image node_id 6 for calling a global function with example usage: ignore_numpy_bool8_deprecation() without return types