Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/fa21-final/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ <h1 class="title">Fall 2021 Final Exam</h1>
open-internet, and students were able to use Jupyter Notebooks. They had
<strong>3 hours</strong> to work on it.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>Welcome to the Final Exam! In honor of the (at the time) brand-new
Comic-Con Museum that just opened at Balboa Park here in San Diego, this
exam will contain questions about various museums and zoos around the
Expand Down
10 changes: 10 additions & 0 deletions docs/fa21-midterm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ <h1 class="title">Fall 2021 Midterm Exam</h1>
internet and Jupyter notebooks. Students had <strong>50 minutes</strong>
to work on it.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>King Triton, UCSD’s mascot, is quite the traveler! Throughout this
exam, we will be working with the <code>flights</code> DataFrame, which
details several facts about each of the flights that King Triton has
Expand Down
10 changes: 10 additions & 0 deletions docs/fa22-final/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,16 @@ <h1 class="title">Fall 2022 Final Exam</h1>
10 Reference Sheet</a>. No calculators were allowed. Students had
<strong>3 hours</strong> to take this exam.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>Credit cards allow consumers to make purchases by borrowing money and
paying it back later. Credit card companies are wary of granting this
borrowing ability to consumers who may not be able to pay back their
Expand Down
10 changes: 10 additions & 0 deletions docs/fa22-midterm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,16 @@ <h1 class="title">Fall 2022 Midterm Exam</h1>
10 Reference Sheet</a>. No calculators were allowed. Students had
<strong>50 minutes</strong> to take this exam.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<h4 id="video">Video 🎥</h4>
<p><b><a href="https://podcast.ucsd.edu/watch/sp23/dsc10_a00/14">Here’s
a walkthrough video</a> of some of the problems on the exam.</b></p>
Expand Down
10 changes: 10 additions & 0 deletions docs/fa23-final/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,16 @@ <h1 class="title">Fall 2023 Final Exam</h1>
10 Reference Sheet</a>. No calculators were allowed. Students had
<strong>3 hours</strong> to take this exam.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<h1 id="data-overview-fraudulent-transactions">Data Overview: Fraudulent
Transactions</h1>
<p>Today, we’re diving into the high-stakes world of fraud detection.
Expand Down
10 changes: 10 additions & 0 deletions docs/fa23-midterm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ <h1 class="title">Fall 2023 Midterm Exam</h1>
10 Reference Sheet<a>. No calculators were allowed. Students had
<strong>50 minutes</strong> to take this exam.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>An area’s cost of living describes how expensive it is to live in
that area. In this exam, we’ll work with the DataFrame
<code>living_cost</code>, which describes the typical cost of living for
Expand Down
10 changes: 10 additions & 0 deletions docs/fa23-quiz1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ <h1 class="title">Fall 2023 Quiz 1</h1>
href="https://dsc-courses.github.io/dsc10-2023-fa">Fall 2023 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<h2 id="problem-1">Problem 1</h2>
<div class="meta">
<p><span class="pill pill-lecture" title="Lecture number(s)">Lecture
Expand Down
10 changes: 10 additions & 0 deletions docs/fa23-quiz2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ <h1 class="title">Fall 2023 Quiz 2</h1>
href="https://dsc-courses.github.io/dsc10-2023-fa">Fall 2023 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>The DataFrame <code>items</code> describes various items available to
collect or purchase using bells, the currency used in the game
<em>Animal Crossing: New Horizons</em>.</p>
Expand Down
10 changes: 10 additions & 0 deletions docs/fa23-quiz3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ <h1 class="title">Fall 2023 Quiz 3</h1>
href="https://dsc-courses.github.io/dsc10-2023-fa">Fall 2023 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>Ciro is an avid fan of Costco, a members-only warehouse store. On his
recent trip to the Morena Boulevard location near campus, he was
surprised by how full shoppers’ carts were and was inspired to
Expand Down
10 changes: 10 additions & 0 deletions docs/fa23-quiz4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ <h1 class="title">Fall 2023 Quiz 4</h1>
href="https://dsc-courses.github.io/dsc10-2023-fa">Fall 2023 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>Video streaming services, such as Netflix and Hulu, are more popular
than ever. Let’s investigate trends in the video streaming habits of
UCSD students.</p>
Expand Down
10 changes: 10 additions & 0 deletions docs/fa24-final/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ <h1 class="title">Fall 2024 Final Exam</h1>
then. Here is a <a href="../pdfs/final_fa24.pdf">PDF copy of the
exam</a>, exactly as it was provided to students.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>Bill has opened a bookstore, called Bill’s Book Bonanza. In the
DataFrame <code>bookstore</code>, each row corresponds to a unique book
available at this bookstore. The index is <code>"ISBN"</code>
Expand Down
10 changes: 10 additions & 0 deletions docs/fa24-midterm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ <h1 class="title">Fall 2024 Midterm Exam</h1>
sheet. No calculators were allowed. Students had <strong>50
minutes</strong> to take this exam.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>Trick-or-treating is a Halloween tradition, where children wear
costumes and walk around their neighborhood from house to house to
collect candy. In this exam, you’ll work with a data set representing
Expand Down
10 changes: 10 additions & 0 deletions docs/fa24-quiz1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ <h1 class="title">Fall 2024 Quiz 1</h1>
href="https://dsc-courses.github.io/dsc10-2024-fa">Fall 2024 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<h2 id="problem-1">Problem 1</h2>
<div class="meta">
<p><span class="pill pill-lecture" title="Lecture number(s)">Lecture
Expand Down
10 changes: 10 additions & 0 deletions docs/fa24-quiz2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ <h1 class="title">Fall 2024 Quiz 2</h1>
href="https://dsc-courses.github.io/dsc10-2024-fa">Fall 2024 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>The DataFrame <code>uc</code> has information about the number of
degrees awarded by each University of California campus, for each of the
past six academic years <code>"2018-2019"</code> through
Expand Down
10 changes: 10 additions & 0 deletions docs/fa24-quiz3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ <h1 class="title">Fall 2024 Quiz 3</h1>
href="https://dsc-courses.github.io/dsc10-2024-fa">Fall 2024 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<h2 id="problem-1">Problem 1</h2>
<div class="meta">
<p><span class="pill pill-lecture" title="Lecture number(s)">Lecture
Expand Down
10 changes: 10 additions & 0 deletions docs/fa24-quiz4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ <h1 class="title">Fall 2024 Quiz 4</h1>
href="https://dsc-courses.github.io/dsc10-2024-fa">Fall 2024 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<h2 id="problem-1">Problem 1</h2>
<div class="meta">
<p><span class="pill pill-lecture" title="Lecture number(s)">Lecture
Expand Down
12 changes: 11 additions & 1 deletion docs/fa25-midterm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
vertical-align: middle;
}
</style>
<link rel="stylesheet" href="..\assets\theme.css" />
<link rel="stylesheet" href="../assets/theme.css" />
<script defer=""
src="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js"></script>
<script>document.addEventListener("DOMContentLoaded", function () {
Expand Down Expand Up @@ -73,6 +73,16 @@ <h1 class="title">Fall 2025 Midterm Exam</h1>
sheet. No calculators were allowed. Students had <strong>50
minutes</strong> to take this exam.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>The English language is considered a challenging language to learn,
largely because there are exceptions to just about every “rule”!</p>
<p>In this exam, we’ll work with a data set of English words that
Expand Down
12 changes: 11 additions & 1 deletion docs/fa25-quiz1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
vertical-align: middle;
}
</style>
<link rel="stylesheet" href="..\assets\theme.css" />
<link rel="stylesheet" href="../assets/theme.css" />
<script defer=""
src="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js"></script>
<script>document.addEventListener("DOMContentLoaded", function () {
Expand Down Expand Up @@ -73,6 +73,16 @@ <h1 class="title">Fall 2025 Quiz 1</h1>
href="https://dsc-courses.github.io/dsc10-2025-fa">Fall 2025 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>You are the newest employee at Nintendo and you are tasked with
creating the next Super Smash Brothers video game! Games in this famous
series involve battles between characters from many different
Expand Down
12 changes: 11 additions & 1 deletion docs/fa25-quiz2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
vertical-align: middle;
}
</style>
<link rel="stylesheet" href="..\assets\theme.css" />
<link rel="stylesheet" href="../assets/theme.css" />
<script defer=""
src="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js"></script>
<script>document.addEventListener("DOMContentLoaded", function () {
Expand Down Expand Up @@ -73,6 +73,16 @@ <h1 class="title">Fall 2025 Quiz 2</h1>
href="https://dsc-courses.github.io/dsc10-2025-fa">Fall 2025 offering of
DSC 10</a>.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>The DataFrame <code>chipotle</code> contains information about all
ingredients on the menu at the Chipotle restaurant chain. The DataFrame
is indexed by ingredient <code>"name"</code> (str), and also includes
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ <h3 id="exams">📝 Exams</h3>
<a href='fa22-final/index.html'>Final</a>
</td>
<td>
Electric vehicles<br> Board games
Electric vehicles<br> Credit Card Applications
</td>
</tr>
<tr>
Expand Down Expand Up @@ -546,7 +546,7 @@ <h3 id="quizzes">🙋‍♀️ Quizzes</h3>
<a href='sp25-quiz5/index.html'>Quiz 5</a>
</td>
<td>
Minecraft<br> Studio Ghibli<br> Concerts<br> Internships<br> Polphony
Minecraft<br> Studio Ghibli<br> Concerts<br> Internships<br> Polyphony
</td>
</tr>
<tr>
Expand Down
10 changes: 10 additions & 0 deletions docs/sp22-final/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ <h1 class="title">Spring 2022 Final Exam</h1>
10 Reference Sheet<a>. No calculators were allowed. Students had
<strong>3 hours</strong> to take this exam.</p>
<hr />
<p><strong>Note (groupby / pandas 2.0):</strong> Pandas 2.0+ no longer
silently drops columns that can’t be aggregated after a
<code>groupby</code>, so code written for older pandas may behave
differently or raise errors. In these practice materials we use
<code>.get()</code> to select the column(s) we want after
<code>.groupby(...).mean()</code> (or other aggregations) so that our
solutions run on current pandas. On real exams you will not be penalized
for omitting <code>.get()</code> when the old behavior would have
produced the same answer.</p>
<hr />
<p>Welcome to
<img src='../assets/images/sp22-final/ikea_logo.png' height=15> !</p>
<p>IKEA is a Swedish furniture company that designs and sells
Expand Down
Loading
Loading