title: How to create a sample single-column Spark DataFrame in Python?
body: <p>I want to create a sample single-column DataFrame, but the following code is not working:</p>
  
  <pre class="lang-python prettyprint-override"><code>df = spark.createDataFrame([&quot;10&quot;,&quot;11&quot;,&quot;13&quot;], (&quot;age&quot;))
  
  ## ValueError
  ## ...
  ## ValueError: Could not parse datatype: age
  </code></pre>
  <p>The expected result:</p>
  <pre class="lang-none prettyprint-override"><code>age
  10
  11
  13
  </code></pre>