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
  find some word in text list file and a bit change to them RolanRoll 3 310 Jun-27-2022, 01:36 AM
Last Post: RolanRoll
Photo (Beginners problem) Does file change during this code? fiqu 3 869 Nov-03-2021, 10:23 PM
Last Post: bowlofred
  Change font in a list or tuple apffal 3 1,167 Oct-14-2021, 05:26 AM
Last Post: ndc85430
  Change a list to integer so I can use IF statement buckssg 3 1,189 Sep-21-2021, 02:58 AM
Last Post: bowlofred
  Use Python to change a PHP file on my little webpage Pedroski55 0 898 Aug-28-2021, 12:42 AM
Last Post: Pedroski55
  How to change odd to even numbers in the list? plumberpy 8 1,660 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 1,518 May-24-2021, 08:48 AM
Last Post: bowlofred
  LIST or ARRAY Comparison and change of value nio74maz 0 1,082 Dec-21-2020, 05:52 PM
Last Post: nio74maz
Question dict value, how to change type from int to list? swissjoker 3 1,664 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 2,524 Dec-08-2020, 10:11 PM
Last Post: greenpine

Forum Jump:

User Panel Messages

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