Skip to content

Commit ed68bd5

Browse files
authored
Update pandas.rst
fix last prompt not rendering
1 parent 4f51d2e commit ed68bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/day3/pandas.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ This example demonstrates both reading and writing in chunks by simulating boots
639639

640640
However, if your data have natural groupings where group membership is not known by position a priori, and/or where each group is itself larger than memory, you may be better off using Dask or other libraries. Windowed operations also do not work because there is no overlap between chunks.
641641

642-
.. challenge
642+
.. challenge::
643643

644644
Load ``global_disaster_response_2018-2024.csv`` in chunks of 10000, and accumulate the sum of the ``'economic_loss_usd'`` column (hint: remember that DataFrames and Series have a ``.sum()`` method). Print the final sum. The result should be around $253 billion USD.
645645

0 commit comments

Comments
 (0)