pyampact.symbolic.jsonCDATA
- pyampact.symbolic.jsonCDATA(piece, json_path)[source]
Return a dictionary of pandas DataFrames, one for each voice. These DataFrames contain the cdata from the JSON file designated in json_path with each nested key in the JSON object becoming a column name in the DataFrame. The outermost keys of the JSON cdata will become the “absolute” column. While the columns are different, there are as many rows in these DataFrames as there are in those of the nmats DataFrames for each voice.
- Parameters:
json_path – Path to a JSON file containing cdata.
- Returns:
A dictionary of pandas DataFrames, one for each voice.
See also
fromJSON(),insertAudioAnalysis(),nmats(),xmlIDs()