Support Questions
Find answers, ask questions, and share your expertise

Multiple column to a new column and it's value in should be merged to give a json

New Contributor

I have a csv input file it contains many columns I want to group them and and create a new column from that and it's value of corresponding columns in json format.

Below is a sample

csv input :

name_1, application_1, assetid_1, env_1,layer_1

CSV output expected

column name = resourceTags_USER

Column value = {

Name : name_1,


Thanks in advance for your help.
It will be helpful if dynamically this can be handled by regex.