rsatoolbox.io.pandas module¶
Conversions from rsatoolbox classes to pandas table objects
- rsatoolbox.io.pandas.rdms_to_df(rdms: RDMs) DataFrame [source]¶
Create DataFrame representation of the RDMs object
A column for: - dissimilarity - each rdm descriptor - two for each pattern descriptor, suffixed by _1 and _2 respectively
Multiple RDMs are stacked row-wise. See also the RDMs.to_df() method which calls this function
- Parameters:
rdms (RDMs) – the object to convert
- Returns:
- long-form pandas DataFrame with
dissimilarities and descriptors.
- Return type:
DataFrame