woodwork.datatable.DataTable.head

DataTable.head(n=5)[source]

Shows the first n rows of the DataTable along with typing information.

Note

This will bring data into memory for Dask or Koalas DataTables.

Parameters

n (int) – number of rows to return. Defaults to 5.

Returns

DataFrame with the top n rows where the column headers contain

each DataColumn’s typing information.