From: Bill B. <wb...@gm...> - 2006-09-15 02:05:15
|
On 9/15/06, Tim Hochberg <tim...@ie...> wrote: > Isn't swapaxis appropriate for this? In other words: > You're right. Just didn't think of that. Never used swapaxes before. def axisiter(arr, i): return arr.swapaxes(0,i) --bb |