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 __new__(
      cls, data=None, dtype=None, copy=False, name=None, fastpath=None
  ):
      if fastpath is not None:
          warnings.warn(
              "The 'fastpath' keyword is deprecated, and will be "
              "removed in a future version.",
              FutureWarning,
              stacklevel=2,
          )
          if fastpath:
              return cls._simple_new(data, name=name)
  
      # is_scalar, generators handled in coerce_to_ndarray
      data = cls._coerce_to_ndarray(data)
  
      if issubclass(data.dtype.type, compat.string_types):
          cls._string_data_error(data)
  
      if copy or not is_dtype_equal(data.dtype, cls._default_dtype):
          subarr = np.array(data, dtype=cls._default_dtype, copy=copy)
          cls._assert_safe_casting(data, subarr)
      else:
          subarr = data
  
      if name is None and hasattr(data, "name"):
          name = data.name
      return cls._simple_new(subarr, name=name)
  
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 1 for calling the NumericIndex obj's underlying member method code with example usage: obj.__new__(cls, data, dtype, copy, name, fastpath) and returns: cls, cls