I created a fusion sheet data to be synced to the data set. now, I want to use that data set for creating a dictionary in the repo. I am using pyspark in the repo. later I want to use that dictionary to be passed so that it populates descriptions as it is in Is there a tool available within Foundry that can automatically populate column descriptions? If so, what is it called?.
it would great if anyone can help me creating the dictionary from data set using pyspark in the repo.
The following code would convert your pyspark dataframe into a list of dictionaries:
However, in your particular case, you can use the following snippet:
Assuming your Fusion sheet would look like this: