def __init__(self, start=None, stop=None, step=None, name=None):
        """Initialize a RangeIndex object.

        If only 1 value (`start`) is passed, it will be considered the `stop` value.
        Note that this 1 value may also be a WeldObject for cases such as creating
        a Series with no index as argument.

        Parameters
        ----------
        start : int or WeldObject
        stop : int or WeldObject, optional
        step : int, optional

        """
        self.start, self.stop, self.step = _check_input(start, stop, step)
        self.name = check_type(name, str)
        self.dtype = np.dtype(np.int64)

        self._length = len(range(self.start, self.stop, self.step)) if isinstance(stop, int) else None

        super(RangeIndex, self).__init__(weld_range(self.start, self.stop, self.step), np.dtype(np.int64))
def __init__ ( self , start = None , stop = None , step = None , name = None ) : self . start , self . stop , self . step = _check_input ( start , stop , step ) self . name = check_type ( name , str ) self . dtype = np . dtype ( np . int64 ) self . _length = len ( range ( self . start , self . stop , self . step ) ) if isinstance ( stop , int ) else None super ( RangeIndex , self ) . __init__ ( weld_range ( self . start , self . stop , self . step ) , np . dtype ( np . int64 ) )
Initialize a RangeIndex object.

        If only 1 value (`start`) is passed, it will be considered the `stop` value.
        Note that this 1 value may also be a WeldObject for cases such as creating
        a Series with no index as argument.

        Parameters
        ----------
        start : int or WeldObject
        stop : int or WeldObject, optional
        step : int, optional