woodwork.data_table.DataTable.to_pandas

DataTable.to_pandas(copy=False)[source]

Retrieves the DataTable’s underlying dataframe.

Note: Do not modify the dataframe unless copy=True has been set to avoid unexpected behavior

Parameters

copy (bool) – If set to True, returns a copy of the underlying dataframe. If False, will return a reference to the DataTable’s dataframe, which, if modified, can cause unexpected behavior in the DataTable. Defaults to False.

Returns

The underlying dataframe of the DataTable

Return type

pandas.DataFrame