Python Forum
LIST or ARRAY Comparison and change of value
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LIST or ARRAY Comparison and change of value
Hello everyone I need some advice, I am extracting two columns from a table in a local database and the same on a mysql database on a server, I was thinking of injecting them on two lists where the commanded list needs to be compared with the other, I'll have to find the differences in value and change them to that commander example:

List Comanded

Code Value Code Value
1 10 1 10
13 8 13 51
15 9 15 9
18 8 18 10

In this example I have to replace the values of code 13 and 18 on list 2
What would you do take into account that arrays or matrices lists must be injected with data from a csv. Thank you all

Possibly Related Threads…
Thread Author Replies Views Last Post
  Change font in a list or tuple apffal 3 577 Oct-14-2021, 05:26 AM
Last Post: ndc85430
  Change a list to integer so I can use IF statement buckssg 3 655 Sep-21-2021, 02:58 AM
Last Post: bowlofred
  change csv file into adjency list ainisyarifaah 0 411 Sep-21-2021, 02:49 AM
Last Post: ainisyarifaah
  How to change odd to even numbers in the list? plumberpy 8 1,009 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 948 May-24-2021, 08:48 AM
Last Post: bowlofred
Question dict value, how to change type from int to list? swissjoker 3 1,203 Dec-09-2020, 09:50 AM
Last Post: perfringo
  2d Array adds last element to entire list waiteup 2 871 Nov-19-2020, 08:25 PM
Last Post: bowlofred
  trouble with list array Milfredo 2 995 Sep-16-2020, 12:07 AM
Last Post: Milfredo
  Finding an element in a 1d list in a 2d array lionrocker221 0 893 Jun-27-2020, 04:50 PM
Last Post: lionrocker221
  Make an array of string number in a List polantas 5 1,565 May-27-2020, 07:18 AM
Last Post: buran

Forum Jump:

User Panel Messages

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