(data=None, index=None, columns=None, dtype=None, copy=False)
Special Numba procedure to overload Python type pandas.DataFrame::ctor() with Numba registered model
Special Numba procedure to overload Python type pandas.DataFrame::ctor() with Numba registered model
Special Numba procedure to overload Python type pandas . DataFrame :: ctor () with Numba registered model
def hpat_pandas_dataframe(data=None, index=None, columns=None, dtype=None, copy=False):
    """
    Special Numba procedure to overload Python type pandas.DataFrame::ctor() with Numba registered model
    """

    if isinstance(data, types.DictType):
        def hpat_pandas_dataframe_impl(data=None, index=None, columns=None, dtype=None, copy=False):
            series_dict = {}
            series_list = []

            for key, value in data.items():
                """
                Convert input dictionary with:
                    key - unicode string
                    value - array
                into dictinary of pandas.Series with same names and values
                """

                series_item = pandas.Series(data=value, name=key)
                series_dict[key] = series_item
                series_list.append(series_item)

            # return _hpat_pandas_dataframe_init(series_dict)
            return _hpat_pandas_dataframe_init(series_list)

        return hpat_pandas_dataframe_impl
def hpat_pandas_dataframe ( data = None , index = None , columns = None , dtype = None , copy = False ) : if isinstance ( data , types . DictType ) : def hpat_pandas_dataframe_impl ( data = None , index = None , columns = None , dtype = None , copy = False ) : series_dict = { } series_list = [ ] for key , value in data . items ( ) : """
                Convert input dictionary with:
                    key - unicode string
                    value - array
                into dictinary of pandas.Series with same names and values
                """ series_item = pandas . Series ( data = value , name = key ) series_dict [ key ] = series_item series_list . append ( series_item ) # return _hpat_pandas_dataframe_init(series_dict) return _hpat_pandas_dataframe_init ( series_list ) return hpat_pandas_dataframe_impl