MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Eliminate duplicates using Union [] in a

  • To: mathgroup at
  • Subject: [mg48063] Eliminate duplicates using Union [] in a
  • From: Mark Coleman <mark at>
  • Date: Mon, 10 May 2004 06:51:18 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

I know that if one applies the Union command to a list of values, it 
will return the list with duplicates removed. Can I use the Union 
command to eliminate duplicate when I have a list of data "records"? 
Specifically, I have a large data set that I read into a list on a 
row-oriented basis. Each element of the list consists of another list 
of about 30 different fields. Two of these fields are geographic 
indicators. If two or more records have identical values in these two 
fields, then the full records are considered duplicates and need to be 
identified and removed from the larger list (or at least marked for 
removal). Can Union do this?



  • Prev by Date: Re: how to save a mathematica-made imagebox.image as jpg, gif, bmp in c#/.netlink?
  • Next by Date: Re: Re: Mandelbrot Set & Mathematica
  • Previous by thread: Fw: Finding errors in my code?
  • Next by thread: Re: Eliminate duplicates using Union [] in a