Re: length of multidimensional table

2006-12-17 Thread Wojciech Muła
vertigo wrote: > i have: > x = zeros([3,4],Float) > > how can i check how many rows and columns x have ? > (what is the X and Y size of that table) ? Data member x.shape (tuple) contains dimensions of array. -- http://mail.python.org/mailman/listinfo/python-list

Re: length of multidimensional table

2006-12-17 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, vertigo wrote: > i have: > x = zeros([3,4],Float) > > how can i check how many rows and columns x have ? > (what is the X and Y size of that table) ? Try `x.getshape()`. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list

length of multidimensional table

2006-12-17 Thread vertigo
Hello i have: x = zeros([3,4],Float) how can i check how many rows and columns x have ? (what is the X and Y size of that table) ? Thanx -- http://mail.python.org/mailman/listinfo/python-list