Python to SAS Datasets from csv files and it had to check metadata for structure

Hi,

This is Ravindra, I am looking for a solution where i have a specific requirement.

I have a metadata where i have variable name with format and length as well and i have got few csv files to be converted to SAS datasets. Using the meta data information the python need to convert csv files to SAS datasets i.e if the meta data is having a variable length as 200 it should pick that information and exactly map the same with the csv files and then convert them to SAS datasets.

Can someone please provide me a possible solution for this if possible if you can provide me a code that is really appreciated.

Many thanks.