">[</span>, <span class="va">year</span><span class="op">:</span><span class="va">day</span><span class="op">]</span></span>
<span><span class="co"># returns day, month and year</span></span>
<span><span class="va">flights</span><span class="op">[</span>, <span class="va">day</span><span class="op">:</span><span class="va">year</span><span class="op">]</span></span>
<span><span class="co"># returns all columns except year, month and day</span></span>
<span><span class="va">flights</span><span class="op">[</