title: Scipy with numerical integration on multiple lists
body: <p>I have a graph with steps of span and corresponding values of rotation. I need to perform a numerical integration on each steps to get slope value. I wonder since there is already build-in function in scipy integration like trapezodal rule or simpson rule. How could that be implemented on two array or list of data without any additional function?</p>
  <p><a href="https://i.stack.imgur.com/zPRCB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zPRCB.png" alt="enter image description here" /></a></p>
  <pre><code>import scipy
  fraction_of_span = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1]
  rotation = [0.33, 1.34, 2.62, 3.41, 3.87, 4.02, 3.87, 3.41, 2.62, 1.34, 0] 
  result = scipy.trapz(fraction_of_span, rotation, 10)
  </code></pre>
  <p><strong>expected result:</strong></p>
  <pre><code>result = [x0, x1, .........xn]
  </code></pre>