SummaryTable.to_pandas#

SummaryTable.to_pandas()[source]#

The table as a pandas.DataFrame, metadata in attrs.

Rows are indexed by their key, columns are columns[1:], every cell is the string the producer formatted, and frame.attrs carries title, metadata (as a dict) and notes.

Return type:

DataFrame

Returns:

The frame.

Raises:

ImportError – If pandas is not installed; install ns-sdn[pandas].