# [Numpy-discussion] List of arrays

Nils Wagner nwagner@iam.uni-stuttgart...
Mon May 11 05:28:20 CDT 2009

```Hi all,

How can I convert a list of arrays into one array ?

Nils

>>> data
[array([  40. ,  285.6,   45. ,  285.3,   50. ,  285.1,
55. ,  284.8]), array([  60. ,  284.5,   65. ,  282.8,
70. ,  281.1,   75. ,  280. ]), array([  80. ,  278.8,
85. ,  278.1,   90. ,  277.4,   95. ,  276.9]), array([
100. ,  276.3,  105. ,  276.1,  110. ,  275.9,  115. ,
275.7]), array([ 120. ,  275.5,  125. ,  275.2,  130. ,
274.8,  135. ,  274.5]), array([ 140. ,  274.1,  145. ,
273.7,  150. ,  273.2,  155. ,  272.7]), array([ 160. ,
272.2,  165. ,  272.1,  170. ,  272. ,  175. ,  271.8]),
array([ 180. ,  271.6,  185. ,  271. ,  190. ,  270.3,
195. ,  269.5]), array([ 200. ,  268.5,  205. ,  267.4,
210. ,  266.1,  215. ,  263.5]), array([ 220. ,  260.1,
225. ,  256.1,  230. ,  249.9,  235. ,  239.3]), array([
238.7,  186.2,  240.,  160. ,  245. ,  119.7,  250. ,
111.3])]

newdata=array([ 40. ,  285.6,   45. ,  285.3,   50. ,
285.1, 55. ,  284.8, 60. ,  284.5,   65. ,  282.8, ...,
111.3])

Nils
```

More information about the Numpy-discussion mailing list