hipdf.DataFrame.from_records

hipdf.DataFrame.from_records#

20 min read time

Applies to Linux

classmethod DataFrame.from_records(data, index=None, columns=None, nan_as_null=False)#

Convert structured or record ndarray to DataFrame.

Parameters#

data : numpy structured dtype or recarray of ndim=2 index : str, array-like

The name of the index column in data. If None, the default index is used.

columnslist of str

List of column names to include.

Returns#

DataFrame