class_docstr: Provide numeric type operations
  
  This is an abstract class
class_docstr_tok: ["Provide","numeric","type","operations","This","is","an","abstract","class"]
code: def _convert_tolerance(self, tolerance, target):
      tolerance = np.asarray(tolerance)
      if target.size != tolerance.size and tolerance.size > 1:
          raise ValueError(
              "list-like tolerance size must match " "target index size"
          )
      if not np.issubdtype(tolerance.dtype, np.number):
          if tolerance.ndim > 0:
              raise ValueError(
                  (
                      "tolerance argument for %s must contain "
                      "numeric elements if it is list type"
                  )
                  % (type(self).__name__,)
              )
          else:
              raise ValueError(
                  (
                      "tolerance argument for %s must be numeric "
                      "if it is a scalar: %r"
                  )
                  % (type(self).__name__, tolerance)
              )
      return tolerance
  
imports: import warnings
  import numpy
  from pandas._libs import index
  import pandas.compat
  from pandas.util._decorators import Appender, cache_readonly
  from pandas.core.dtypes.common import is_bool, is_bool_dtype, is_dtype_equal, is_extension_array_dtype, is_float, is_integer_dtype, is_scalar, needs_i8_conversion, pandas_dtype
  import pandas.core.dtypes.concat
  from pandas.core.dtypes.missing import isna
  from pandas.core import algorithms
  import pandas.core.common
  import pandas.core.indexes.base
  from pandas.core.indexes.base import Index, InvalidIndexError, _index_shared_docs
  from pandas.core.ops import get_op_result_name
label_desc: Use image node_id 5 for calling the NumericIndex obj's underlying member method code with example usage: obj._convert_tolerance(tolerance, target) and returns: tolerance