Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Eliminate duplicates using Union [] in a

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

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?

Thanks,

-Mark


  • 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