   .setOutputCol(&quot;date&quot;) \\</span>
<span class="sd">    ...     .setAnchorDateYear(2020) \\</span>
<span class="sd">    ...     .setAnchorDateMonth(1) \\</span>
<span class="sd">    ...     .setAnchorDateDay(11) \\</span>
<span class="sd">    ...     .setOutputFormat(&quot;yyyy/MM/dd&quot;)</span>
<span class="sd">    &gt;&gt;&gt; pipeline = Pipeline().setStages([</span>
<span class="sd">    ...     documentAssembler,</span>
<span class="sd">    ...     date</span>
<span class="sd">    ... ])</spa