title: How to create Spark Row from list of key-value pairs
body: <p>Suppose I have got a list of key-value pairs:</p>
  
  <pre><code>kvs = [('x', 0), ('a', 1)]
  </code></pre>
  
  <p>Now I'd like to create a Spark <code>Row</code> from <code>kvs</code> with the same order of keys as in <code>kvs</code>.<br>
  How to do it in <code>Python</code> ?</p>