MathGroup Archive 2004

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

Search the Archive

Re: selecting columns from a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47858] Re: selecting columns from a list
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 29 Apr 2004 03:05:01 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <c6o4pc$clk$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

m = Table[a[i, j], {i, 3}, {j, 3}];

the second row is
m[[2, All]]

the second column

m[[All, 2]]

Regards
  Jens

Edo wrote:
> 
> Hello
> I just started with mathematica, wanted to load a comma separated data
> file and drop the first two columns. So I did
> data=Import["C:\Data\filename.ext","CSV"]; to get the file into a
> variable "data", then I am stuck, after doing some reading in the help
> files about Drop, Partition, Take. ? etc
> could someone tell me what to read and where to find info about indexing
> different data structures
> 
> thanks


  • Prev by Date: RE: Re: Question on pattern matching
  • Next by Date: Re: bug in IntegerPart ?
  • Previous by thread: Re: selecting columns from a list
  • Next by thread: Re: selecting columns from a list