Hi, I'm trying to get a Pandas dataframe including observation attribute OBS_FLAG from the ESTAT source by setting the attributes parameter to 'o' at the write_dataset method. However, the method returns the same dataframe as it would with no attribute explicitly declared.
Is this intended? If not, I'd be happy to contribute to the project.
Here's my code:
import pandasdmx as sdmx
session = sdmx.Request(self.agency_id)
data = session.get(resource_type='data', resource_id='EI_BSIN_M_R2')
df = sdmx.to_pandas(data.data[0], attributes='o')
Here's what the resulting df looks like
