class_docstr: Provide numeric type operations
  
  This is an abstract class
class_docstr_tok: ["Provide","numeric","type","operations","This","is","an","abstract","class"]
docstr: Convert value to be insertable to ndarray 
code: def _convert_for_op(self, value):
      """Convert value to be insertable to ndarray"""
  
      if is_bool(value) or is_bool_dtype(value):
          # force conversion to object
          # so we don't lose the bools
          raise TypeError
  
      return value
  
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 4 for calling the NumericIndex obj's underlying member method code with example usage: obj._convert_for_op(value) and returns: value