OMXFile.get_all#

OMXFile.get_all()[source]#

Iterate through matrix levels as DataFrames.

Can be used to output matrix levels in a dictionary with dict(data.get_all()).

Yields:
  • str – Name of matrix level.

  • pd.DataFrame – 2D square matrix for a single level, with zones used for column names and indices.

Return type:

Generator[tuple[str, DataFrame], None, None]

See also

OMXFile.get_matrix_level()

to read a single matrix level into a DataFrame.

Examples using caf.mat.omx.OMXFile.get_all#

Load CUBE .mat

Load CUBE .mat