pyphi.models.pandas#

Utilities for working with Pandas data structures.

Functions

distribution_rows(direction, kind, purview, ...)

Tidy {direction, kind, purview, state, probability} rows for one repertoire.

records_to_frame(rows[, index, columns])

Stack record mappings into a DataFrame, optionally moving one column to the index.

state_multiindex(node_labels, indices[, ...])

A MultiIndex over all states of indices, level-named by label.

try_to_dict(obj)

Classes

ToDictFromExplicitAttrsMixin()

Mixin class for converting a class to a dict from the _dict_attrs list.

ToDictMixin()

Mixin class for converting a class to a dict from the object's ___dict___.

ToPandasMixin()

Export a result object to a labeled Pandas structure.