Jump to content

Extract data from csv file with different permutation


jackgoddy123

Recommended Posts

Hello,

 

I have a issue to extract csv data with different permutation.

Below are the conditions:

 

TO extract csv file,1 row as one sentence

To extract csv file data as one row data which has four coulmns combination as one sentence.

To extract csv file data as first row column combining with 2nd column of 2nd row(Permutation).

eg: I have 4 row with 4 coulmns. After csv data extraction, each row should should form a sentence by combining its 4 column fields. But may be with different permution each rows first coulmn should combine with rest of the 3 rows 2nd columns.

A B C D 

E F G H

I J K L

 

So the result should be as: AFCD, AJCD, ABCD and son on.

 

Extracting csv data code is ready all I want to add permutation condition.

Any help is appreciated.

Link to comment
Share on other sites

what have you tried?

 

the purpose of programming help forums are to help with code you have written. we are not here to find, write, or give you things that you want. if all you are are doing is posting your assignment and haven't made any attempt at solving the task(s), you don't have anything that we can help with.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.