cudf.DataFrame.from_records#
- classmethod DataFrame.from_records(data, index=None, columns=None, nan_as_null=False)#
Convert structured or record ndarray to DataFrame.
- Parameters
- datanumpy structured dtype or recarray of ndim=2
- indexstr, 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