結果 : how to get 1d array from 2d array python