(df)
return hpat_pandas_df_columns_impl
Intel Scalable Dataframe Compiler User Guide
    ********************************************
    Pandas API: pandas.DataFrame.columns

    Examples
    --------
    .. literalinclude:: ../../../examples/dataframe/dataframe_columns.py
        :language: python
        :lines: 27-
        :caption: The column names of the DataFrame.
        :name: ex_dataframe_columns

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

    Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Pandas DataFrame attribute :attr:`pandas.DataFrame.columns` implementation.

    .. only:: developer
        Test: python -m sdc.runtests -k sdc.tests.test_dataframe.TestDataFrame.test_dataframe_columns*
Intel Scalable Dataframe Compiler User Guide
    ********************************************
    Pandas API: pandas.DataFrame.columns
Intel Scalable Dataframe Compiler User Guide ******************************************** Pandas API : pandas . DataFrame . columns
def hpat_pandas_dataframe_columns(df):
    """
    Intel Scalable Dataframe Compiler User Guide
    ********************************************
    Pandas API: pandas.DataFrame.columns

    Examples
    --------
    .. literalinclude:: ../../../examples/dataframe/dataframe_columns.py
        :language: python
        :lines: 27-
        :caption: The column names of the DataFrame.
        :name: ex_dataframe_columns

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

    Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Pandas DataFrame attribute :attr:`pandas.DataFrame.columns` implementation.

    .. only:: developer
        Test: python -m sdc.runtests -k sdc.tests.test_dataframe.TestDataFrame.test_dataframe_columns*
    """

    ty_checker = TypeChecker('Attribute columns.')
    ty_checker.check(df, DataFrameType)

    # no columns in DF model to avoid impact on DF ctor IR size (captured when needed only)
    df_columns = df.columns

    def hpat_pandas_df_columns_impl(df):
        return df_columns

    return hpat_pandas_df_columns_impl
def hpat_pandas_dataframe_columns ( df ) : ty_checker = TypeChecker ( 'Attribute columns.' ) ty_checker . check ( df , DataFrameType ) # no columns in DF model to avoid impact on DF ctor IR size (captured when needed only) df_columns = df . columns def hpat_pandas_df_columns_impl ( df ) : return df_columns return hpat_pandas_df_columns_impl