Python Forum
change csv file into adjency list
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
change csv file into adjency list
Hello everyone. I have a csv file like this.
[Image: view?usp=sharing]

and I want to change that data into csv file to look into like this.
[Image: view?usp=sharing]

Please, anyone help me. thank you
Larz60+ write Sep-21-2021, 03:15 AM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.

Possibly Related Threads…
Thread Author Replies Views Last Post
Photo (Beginners problem) Does file change during this code? fiqu 3 448 Nov-03-2021, 10:23 PM
Last Post: bowlofred
  Change font in a list or tuple apffal 3 553 Oct-14-2021, 05:26 AM
Last Post: ndc85430
  Change a list to integer so I can use IF statement buckssg 3 634 Sep-21-2021, 02:58 AM
Last Post: bowlofred
  Use Python to change a PHP file on my little webpage Pedroski55 0 518 Aug-28-2021, 12:42 AM
Last Post: Pedroski55
  How to change odd to even numbers in the list? plumberpy 8 975 Aug-08-2021, 11:07 AM
Last Post: plumberpy
  Question about change hex string to integer sting in the list (python 2.7) lzfneu 1 928 May-24-2021, 08:48 AM
Last Post: bowlofred
  LIST or ARRAY Comparison and change of value nio74maz 0 746 Dec-21-2020, 05:52 PM
Last Post: nio74maz
Question dict value, how to change type from int to list? swissjoker 3 1,184 Dec-09-2020, 09:50 AM
Last Post: perfringo
  how to change the range of read CSV file every time python file runs greenpine 6 1,662 Dec-08-2020, 10:11 PM
Last Post: greenpine
  Change variable in an outside file ebolisa 5 968 Nov-11-2020, 04:41 AM
Last Post: ebolisa

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020