rceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>ceil_date(idx, unit<span class="op">=</span><span class="st">'D'</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>Robust date ceiling.</p>
<p>The <code>ceil_date</code> function takes a pandas Series of dates and returns a new Series with the dates rounded up to the next specified unit. It‚Äôs more robust than the pandas <code>ceil</code> functi