'columnwise extended attributes in python for use in SAS

I have a requirement to create extended attributes (XATTR) on columns in the python data frame. Reason: I need to import this dataset from python into SAS where SAS will recognize the XATTR on each column. Is this possible? Most of the articles I read were talking about to add XATTR at the file level. I need to access each column within the file and add a metadata to it called "label". Is this possible at all? Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source