JSViewer

class astropy.table.JSViewer(use_local_files=False, display_length=50)[source]

Bases: object

Provides an interactive HTML export of a Table.

This class provides an interface to the DataTables library, which allow to visualize interactively an HTML table. It is used by the show_in_browser method.

Parameters
use_local_filesbool, optional

Use local files or a CDN for JavaScript libraries. Default False.

display_lengthint, optional

Number or rows to show. Default to 50.

Attributes Summary

css_urls

jquery_urls

Methods Summary

html_js(self[, table_id, sort_columns])

ipynb(self, table_id[, css, sort_columns])

Attributes Documentation

css_urls
jquery_urls

Methods Documentation

html_js(self, table_id='table0', sort_columns='[]')[source]
ipynb(self, table_id, css=None, sort_columns='[]')[source]