pyphi.models.pandas.records_to_frame#

pyphi.models.pandas.records_to_frame(rows, index=None, columns=None)[source]#

Stack record mappings into a DataFrame, optionally moving one column to the index. columns fixes the column set so an empty rows still produces the right schema.

Parameters:
Return type:

DataFrame