MathGroup Archive 2010

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

Search the Archive

Re: union table

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108168] Re: union table
  • From: Simon <simonjtyler at gmail.com>
  • Date: Tue, 9 Mar 2010 06:27:02 -0500 (EST)
  • References: <hn2mg7$47r$1@smc.vnet.net>

Of course it's possible... but I don't think that you'll get a one-
line solution.

Just test whether a subset of the second table's column matches part
of the first table's column.  Find out how much you have to shift the
column to get it working and pad/truncate the two tables to get the
dimensions and alignment correct.
Hint: When padding/truncating it might be easier to transpose then pad/
truncate then transpose back.

If you post a simplified example, someone might even supply some code
for you.

Simon

On Mar 8, 7:19 pm, maria giovanna dainotti
<mariagiovannadaino... at yahoo.it> wrote:
> Dear Mathgroup,
> I need to join two table in which one column should be the same. And if i=
t is not the same at the same position I would like to find the way that Ma=
th can match the column when for example the tenth column of the first tabl=
e should be the same of the forth column of the second table.
>
> AI could do also with a do operation but the lenght of the table can be a=
lso different.
>
> Is there a more general method to figure out this problem?
> for example with union Union[{DataFitend},{DataFitLx}]
> it returns all the table instead I would like to eliminate one column tha=
t it is the same.
> how can i do?
> Thanks a lot
> Maria      



  • Prev by Date: Re: Why can't Mathematica tell when something is algebraically zero?
  • Next by Date: Re: union table
  • Previous by thread: Re: union table
  • Next by thread: Re: union table