You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
→ First selects the <strong>first 100 rows</strong>, then filters for rows where <codeclass="docutils literal notranslate"><spanclass="pre">Age</span><spanclass="pre">></span><spanclass="pre">35</span></code><strong>within those 100</strong>.</p></li>
→ First filters for <strong>all rows</strong> where <codeclass="docutils literal notranslate"><spanclass="pre">Age</span><spanclass="pre">></span><spanclass="pre">35</span></code>, then selects the <strong>first 100 rows</strong> from that filtered set.</p></li>
2321
+
</ul>
2322
+
<p>Thus, the main difference lies in <strong>whether you slice first or filter first</strong>, which can lead to <strong>very different subsets of data</strong>.</p>
2323
+
</div>
2324
+
</section>
2290
2325
<hrclass="docutils" />
2291
2326
<sectionid="key-points">
2292
2327
<h2>Key points<aclass="headerlink" href="#key-points" title="Link to this heading">#</a></h2>
@@ -2385,6 +2420,7 @@ <h2>Key points<a class="headerlink" href="#key-points" title="Link to this headi
→ First selects the <strong>first 100 rows</strong>, then filters for rows where <codeclass="docutils literal notranslate"><spanclass="pre">Age</span><spanclass="pre">></span><spanclass="pre">35</span></code><strong>within those 100</strong>.</p></li>
→ First filters for <strong>all rows</strong> where <codeclass="docutils literal notranslate"><spanclass="pre">Age</span><spanclass="pre">></span><spanclass="pre">35</span></code>, then selects the <strong>first 100 rows</strong> from that filtered set.</p></li>
2340
+
</ul>
2341
+
<p>Thus, the main difference lies in <strong>whether you slice first or filter first</strong>, which can lead to <strong>very different subsets of data</strong>.</p>
2342
+
</div>
2343
+
</section>
2309
2344
<hrclass="docutils" />
2310
2345
<sectionid="key-points">
2311
2346
<h2>Key points<aclass="headerlink" href="#key-points" title="Link to this heading">#</a></h2>
@@ -2403,6 +2438,7 @@ <h2>Key points<a class="headerlink" href="#key-points" title="Link to this headi
0 commit comments