(self, level=None, drop=False, inplace=False, col_level=0, col_fill='')
Intel Scalable Dataframe Compiler User Guide
    ********************************************
    Pandas API: pandas.DataFrame.reset_index

    Limitations
    -----------
    - Reset the index of the DataFrame, and use the default one instead.
    - Parameters level, inplacem col_level, col_fill unsupported.
    - Parameter drop can be only literal value or default value.

    Examples
    --------
    .. literalinclude:: ../../../examples/dataframe/dataframe_reset_index_drop_False.py
        :language: python
        :lines: 36-
        :caption: Reset the index of the DataFrame, and use the default one instead.
                  The old index becomes the first column.
        :name: ex_dataframe_reset_index

    .. command-output:: python ./dataframe/dataframe_reset_index_drop_False.py
        :cwd: ../../../examples

    .. literalinclude:: ../../../examples/dataframe/dataframe_reset_index_drop_True.py
        :language: python
        :lines: 36-
        :caption: Reset the index of the DataFrame, and use the default one instead.
        :name: ex_dataframe_reset_index

    .. command-output:: python ./dataframe/dataframe_reset_index_drop_True.py
        :cwd: ../../../examples

    Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Pandas DataFrame method :meth:`pandas.DataFrame.reset_index` implementation.

   .. only:: developer

       Test: python -m sdc.runtests -k sdc.tests.test_dataframe.TestDataFrame.test_df_reset_index*
Intel Scalable Dataframe Compiler User Guide
    ********************************************
    Pandas API: pandas.DataFrame.reset_index
Intel Scalable Dataframe Compiler User Guide ******************************************** Pandas API : pandas . DataFrame . reset_index
def sdc_pandas_dataframe_reset_index(self, level=None, drop=False, inplace=False, col_level=0, col_fill=''):
    """
    Intel Scalable Dataframe Compiler User Guide
    ********************************************
    Pandas API: pandas.DataFrame.reset_index

    Limitations
    -----------
    - Reset the index of the DataFrame, and use the default one instead.
    - Parameters level, inplacem col_level, col_fill unsupported.
    - Parameter drop can be only literal value or default value.

    Examples
    --------
    .. literalinclude:: ../../../examples/dataframe/dataframe_reset_index_drop_False.py
        :language: python
        :lines: 36-
        :caption: Reset the index of the DataFrame, and use the default one instead.
                  The old index becomes the first column.
        :name: ex_dataframe_reset_index

    .. command-output:: python ./dataframe/dataframe_reset_index_drop_False.py
        :cwd: ../../../examples

    .. literalinclude:: ../../../examples/dataframe/dataframe_reset_index_drop_True.py
        :language: python
        :lines: 36-
        :caption: Reset the index of the DataFrame, and use the default one instead.
        :name: ex_dataframe_reset_index

    .. command-output:: python ./dataframe/dataframe_reset_index_drop_True.py
        :cwd: ../../../examples

    Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Pandas DataFrame method :meth:`pandas.DataFrame.reset_index` implementation.

   .. only:: developer

       Test: python -m sdc.runtests -k sdc.tests.test_dataframe.TestDataFrame.test_df_reset_index*
   """

    func_name = 'reset_index'

    ty_checker = TypeChecker('Method {}().'.format(func_name))
    ty_checker.check(self, DataFrameType)

    if not (level is None or isinstance(level, types.Omitted)):
        raise TypingError('{} Unsupported parameter level. Given: {}'.format(func_name, level))

    if not isinstance(drop, (types.Omitted, types.Boolean, bool)):
        ty_checker.raise_exc(drop, 'bool', 'drop')

    if not (inplace is False or isinstance(inplace, types.Omitted)):
        raise TypingError('{} Unsupported parameter inplace. Given: {}'.format(func_name, inplace))

    if not (col_level == 0 or isinstance(col_level, types.Omitted)):
        raise TypingError('{} Unsupported parameter col_level. Given: {}'.format(func_name, col_level))

    if not (col_fill == '' or isinstance(col_fill, types.Omitted)):
        raise TypingError('{} Unsupported parameter col_fill. Given: {}'.format(func_name, col_fill))

    if isinstance(drop, types.Literal):
        literal_drop = drop.literal_value
        return sdc_pandas_dataframe_reset_index_impl(self, drop=literal_drop)
    elif isinstance(drop, types.Omitted):
        return sdc_pandas_dataframe_reset_index_impl(self, drop=drop.value)
    elif isinstance(drop, bool):
        return sdc_pandas_dataframe_reset_index_impl(self, drop=drop)

    raise SDCLimitation('Method {}(). Parameter drop is only supported as a literal.'.format(func_name))
def sdc_pandas_dataframe_reset_index ( self , level = None , drop = False , inplace = False , col_level = 0 , col_fill = '' ) : func_name = 'reset_index' ty_checker = TypeChecker ( 'Method {}().' . format ( func_name ) ) ty_checker . check ( self , DataFrameType ) if not ( level is None or isinstance ( level , types . Omitted ) ) : raise TypingError ( '{} Unsupported parameter level. Given: {}' . format ( func_name , level ) ) if not isinstance ( drop , ( types . Omitted , types . Boolean , bool ) ) : ty_checker . raise_exc ( drop , 'bool' , 'drop' ) if not ( inplace is False or isinstance ( inplace , types . Omitted ) ) : raise TypingError ( '{} Unsupported parameter inplace. Given: {}' . format ( func_name , inplace ) ) if not ( col_level == 0 or isinstance ( col_level , types . Omitted ) ) : raise TypingError ( '{} Unsupported parameter col_level. Given: {}' . format ( func_name , col_level ) ) if not ( col_fill == '' or isinstance ( col_fill , types . Omitted ) ) : raise TypingError ( '{} Unsupported parameter col_fill. Given: {}' . format ( func_name , col_fill ) ) if isinstance ( drop , types . Literal ) : literal_drop = drop . literal_value return sdc_pandas_dataframe_reset_index_impl ( self , drop = literal_drop ) elif isinstance ( drop , types . Omitted ) : return sdc_pandas_dataframe_reset_index_impl ( self , drop = drop . value ) elif isinstance ( drop , bool ) : return sdc_pandas_dataframe_reset_index_impl ( self , drop = drop ) raise SDCLimitation ( 'Method {}(). Parameter drop is only supported as a literal.' . format ( func_name ) )