code: def _check_supported_methods(method):
      if method != "pearson":
          raise NotImplementedError(
              f"Correlation method {method!r} not supported"
          )
  
imports: import numpy
  import pandas
  from ...None import opcodes
  from ...core import ENTITY_TYPE, recursive_tile
  from ...serialization.serializables import BoolField, AnyField, KeyField, Int32Field
  from ...tensor.utils import filter_inputs
  from ...utils import has_unknown_shape
  from ..core import SERIES_TYPE, DATAFRAME_TYPE
  from ..operands import DataFrameOperand, DataFrameOperandMixin
  from ..utils import build_empty_df, validate_axis, parse_index
label_desc: Use image node_id 1 for calling a global function with example usage: _check_supported_methods(method) without return types