How to get only headers(columns) from csv document?

Hi,

  is there any plugin available to fetch only headers(columns) from csv document.

 

  Discussion posts and replies are publicly visible

Parents
  • Hi Kiran,

    I think there is no such plugin available to get only header row of the csv file, but you can achieve this by "Parse CSV Document" smart service.

    Here I am attaching the image showing config of the node. There are four columns in my csv file.

    The output which you get would be list of string where column would ba at first index. Use the index function to fetch the column name.

    Let me know if you stuck somewhere.

     

Reply
  • Hi Kiran,

    I think there is no such plugin available to get only header row of the csv file, but you can achieve this by "Parse CSV Document" smart service.

    Here I am attaching the image showing config of the node. There are four columns in my csv file.

    The output which you get would be list of string where column would ba at first index. Use the index function to fetch the column name.

    Let me know if you stuck somewhere.

     

Children