class="sd">    ...     embeddings,</span>
<span class="sd">    ...     embeddingsFinisher</span>
<span class="sd">    ... ])</span>
<span class="sd">    &gt;&gt;&gt; data = spark.createDataFrame([[&quot;This is a sentence.&quot;]]).toDF(&quot;text&quot;)</span>
<span class="sd">    &gt;&gt;&gt; result = pipeline.fit(data).transform(data)</span>
<span class="sd">    &gt;&gt;&gt; result.selectExpr(&quot;explode(finished_embeddings) as result&quot;).show(1, 80)</span>
<span class="sd">    +--------------------