title: Python csv writer, numpy array to csv
body: <p>I have Python dict containing 4 key value pairs. Each value is a numpy arrays. Now I want to print the whole dict to a csv, forcing to write one numpy array per row.</p>
  
  <pre><code>with open(os.path.join("csv", title), 'w', newline='') as f:
    w = csv.DictWriter(f, list(data.keys()))
    w.writeheader()
    w.writerow(data)
  </code></pre>
  
  <p>Is what I have used yet. But some of my arrays get written to several rows instead of a single line.</p>
  
  <p>Here an example of input data:</p>
  
  <blockquote>
    <p>{'DE': array([[ 38574.        ,  38538.1904,  39511.6190,  42521.1428,
             50586.        ,  46282.5238,  42714.4761,  40612.0476],
           [ 42798.4666,  42112.5333,  42277.8666,  42886.1333,
             50224.3333,  48148.8       ,  44272.6666,  41210.2       ]])}</p>
  </blockquote>
  
  <p>I expect the output so that, each line of my array is written on one line. Instead I get a file containing "\n" after a certain amount of digits. how can i force to write the whole array in one row?</p>