gi.ags.read.ags_to_dfs
gi.ags.read.ags_to_dfs(ags_data)
Converts AGS 3 or AGS 4 data to a dictionary of pandas DataFrames.
Parameters
Name | Type | Description | Default |
---|---|---|---|
ags_data | str | The AGS data as a string. | required |
Raises
Name | Type | Description |
---|---|---|
ValueError | If the data does not match AGS 3 or AGS 4 format. |
Returns
Name | Type | Description |
---|---|---|
Dict[str, pd.DataFrame] | Dict[str, pd.DataFrame]]: A dictionary where keys represent AGS group | |
Dict[str, pd.DataFrame] | names with corresponding DataFrames for the corresponding group data. |