title: Cannot create pyspark DataFrame
body: <p>I'm trying to create a DataFrame from 2 custom sentences, just to test. But from the code I made I'm unable to create it.</p>
  <pre><code>spark = SparkSession.builder.appName('first').getOrCreate()
  df = spark.createDataFrame(
      [
          (0, &quot;Hi this is a Spark tutorial&quot;),
          (1, &quot;This tutorial is made in Python language&quot;)
      ], ['id', 'sentence']
  )
  df.show()
  </code></pre>
  <p>This gives me this error:</p>
  <pre><code>Py4JJavaError: An error occurred while calling o73.showString.
  : org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 2.0 failed 1 times, most recent failure: Lost task 0.0 in stage 2.0 (TID 2) (executor driver): org.apache.spark.SparkException: Python worker failed to connect back.
  </code></pre>
  <p>I tried to create a schema</p>
  <pre><code>schema = StructType(
      [StructField(&quot;id&quot;, IntegerType(), True),
      StructField(&quot;sentence&quot;, StringType(), True)]
  )
  </code></pre>
  <p>and pass it like an argument <code>schema=schema</code> but it is the same roadend.</p>