Python Forum
Dealing with duplicates to an Excel sheet
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dealing with duplicates to an Excel sheet
#7
Quote:So, for example, when the program takes the address and puts them into an Excel sheet two of the addresses are "Main-1303 Yonge St". I'm trying to figure out how to get the code to remove a duplication like this.

What about using set data type for storing addresses? A set doesn't hold duplicate items.
Reply


Messages In This Thread
RE: Dealing with duplicates to an Excel sheet - by Askic - Oct-28-2020, 05:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  help with adding duplicates elements together in a list 2ECC3O 5 2,053 Sep-10-2022, 07:11 AM
Last Post: 2ECC3O
  Dealing with list coja56 2 2,830 Sep-18-2020, 09:32 PM
Last Post: perfringo
  App for excel sheet analysis awookado 6 2,821 Jan-27-2020, 09:02 AM
Last Post: awookado
  Help me with yahoo finance excel sheet Learner4life 2 2,287 Nov-27-2019, 12:55 PM
Last Post: Learner4life
  duplicates nsx200 3 2,445 Nov-12-2019, 08:55 AM
Last Post: nsx200
  Exercise list remove duplicates RavCOder 9 5,287 Oct-23-2019, 04:16 PM
Last Post: jefsummers
  Dealing with errors in input souprqtpie 7 3,459 Apr-10-2019, 11:04 AM
Last Post: souprqtpie
  how to take out duplicates from a list? helpme 2 2,508 Mar-08-2019, 02:27 PM
Last Post: ichabod801
  How to keep duplicates and remove all other items in list? student8 1 4,947 Oct-28-2017, 05:52 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

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