Skip to content

Commit 20d6f55

Browse files
committed
Pandas: correct stats for exercise 3
1 parent 0163088 commit 20d6f55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/pandas.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -503,13 +503,13 @@ Exercises 3
503503
::
504504

505505
nobel.bornCountryCode.describe()
506-
# count 956
507-
# unique 81
506+
# count 969
507+
# unique 82
508508
# top US
509-
# freq 287
509+
# freq 292
510510

511511
We see that the US has received the largest number of Nobel prizes,
512-
and 81 countries are represented.
512+
and 82 countries are represented.
513513

514514
To calculate the age at which laureates receive their prize, we need
515515
to ensure that the "year" and "born" columns are in datetime format::

0 commit comments

Comments
 (0)