MathGroup Archive 2004

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

Search the Archive

Re: selecting columns from a list


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