add_sdmx_reference_cols()
Add SDMX reference columns to a DataFrame.
Usage
add_sdmx_reference_cols(
df,
dsd,
structure="datastructure",
action="I",
)
WarningDeprecated since version Use
standardize_output() instead.
Parameters
df: pd.DataFrame-
The input DataFrame to which the columns will be added.
dsd: str-
The Data Structure Definition (DSD) identifier.
structure: str = "datastructure"-
The structure type. Default is
'datastructure'. action: str = "I"-
The action type. Default is
'I'(Insert).
Returns
pd.DataFrame- The DataFrame with the added SDMX reference columns.