I am trying to cut columns from an array and assign a new variable, for example.
array1 = array[:,[0,1,2,3,15,16,17,18,19,20]]
Is there a shortcut for something like this?
I tried this, but he made a mistake:
array1 = array[:,[0:3,15:20]]
It is probably very simple, but I can not find it anywhere.
source
share