ipydatagrid#
- astropy.table.notebook_backends.ipydatagrid(table, **kwargs)[source]#
Render the table in HTML with
ipydatagrid
and show it in the Jupyter notebook.This function creates an
ipydatagrid.DataGrid
object by converting the inputtable
to apandas.DataFrame
and passing**kwargs
to the constructor. The availableDataGrid
options can be seen in a Jupyter notebook withhelp(ipydatagrid.DataGrid)
.Note
This function requires optional dependencies
pandas
andipydatagrid
.- Parameters:
- table
Table
Table to render.
- **kwargs
python:dict
, optional Keyword arguments accepted by
ipydatagrid.DataGrid
.
- table
- Returns:
- dg
object
An
ipydatagrid.DataGrid
instance representing the given table.
- dg