In a nutshell

The Dash DataTable is a table component that allows for maximum user interactivity and customizability. This is a perfect solution for when we want a user to be able to perform actions such as selecting columns, sorting data, filtering data, and much more. The underlying mechanisms in which this occurs are all abstracted away from us, as React.js takes care of all the nuances behind changing the display of our data tables.

We can import the DataTable using the following import statement:

from dash import dash_table

As we have seen, there are many more modules we typically like to import with Dash, so the following import would make more sense:

from dash import dcc, html, Input, Output, dash_table

Get hands-on with 1200+ tech skills courses.