The DataTable block takes a pandas DataFrame and renders an interactive, sortable, searchable table in your report, along with advanced analysis options such as exploring data through SandDance. It supports large datasets and viewers can also download the table from the website as a CSV or Excel file.
Table is the best option for displaying multidimensional DataFrames, as
DataTable will flatten your data.
Simple DataTable from DataFrame
Running Queries on DataTable
You can run SQL queries on your datatable if you need more advanced filtering & calculations. In the previous example, if we wanted to show only the rows which had a value A > 0.5, we would write the following (note that
$tbl is the builtin table name and cannot be changed):