Copy every nth column of a numpy array

Posted: asked May 19 at 11:24 - Source : stackoverflow

How would you copy the first element and every element of the nth column in another array?

For example, supposed you have the array below:

array{[1,2,3,4,5],
      [1,2,3,4,5],
      [1,2,3,4,5]}

I want to choose the first element and every 2nd element so I would have:

array{[1,3,5],
      [1,3,5],
      [1,3,5]}