I want to turn a multidimensional array into a single dimension one. For example:
arr1=([[1,4],[3,7]])
and transform it to:
arr=([1,4,3,7])
is it possible to get this with a unique command in python?
Thanks and I appreciate very much your advice