flatten 3d array to 1d pythonの検索結果