code: def _raise_error_wrong_axis(axis):
      if axis not in (0, 1):
          raise ValueError(
              "Unknown axis value: %d. Use 0 for rows, or 1 for columns"
              % axis
          )
  
imports: import numpy
  import scipy.sparse
  from scipy.sparse.linalg import LinearOperator
  from ..utils.fixes import _sparse_min_max, _sparse_nan_min_max
  from ..utils.validation import _check_sample_weight
  from .sparsefuncs_fast import csc_mean_variance_axis0
  from .sparsefuncs_fast import csr_mean_variance_axis0
  from .sparsefuncs_fast import incr_mean_variance_axis0
label_desc: Use image node_id 2 for calling a global function with example usage: _raise_error_wrong_axis(axis) without return types