From eabdc95f944d717e4d66cc5e1a11fe4c6d1b9b11 Mon Sep 17 00:00:00 2001 From: Mark Engelmann <61390579+vinegar-tom@users.noreply.github.com> Date: Thu, 31 Oct 2024 16:30:06 -0500 Subject: [PATCH 1/2] Fix typos in libraries.md The numbers in the textual description did not match with those from the output of `df_2011.info()`. --- episodes/libraries.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/episodes/libraries.md b/episodes/libraries.md index 65cbc8b2..883a9165 100644 --- a/episodes/libraries.md +++ b/episodes/libraries.md @@ -276,12 +276,12 @@ memory usage: 10.8+ KB ``` The `info()` method tells us -- we have a RangeIndex of 83, which means we have 83 rows. -- there are 18 columns, with datatypes of +- we have a RangeIndex of 80, which means we have 80 rows. +- there are 17 columns, with datatypes of - objects (3 columns) - 64-bit floating point number (1 column) - - 64-bit integers (14 columns). -- the dataframe uses 11.8 kilobytes of memory. + - 64-bit integers (13 columns). +- the dataframe uses 10.8 kilobytes of memory. ## The `DataFrame.columns` variable stores info about the dataframe's columns. From 3381737b7c570ceca8d8d61fb85bdf4e1a4d93d8 Mon Sep 17 00:00:00 2001 From: Cody Hennesy Date: Tue, 5 Nov 2024 11:25:29 -0600 Subject: [PATCH 2/2] fix bullets --- episodes/libraries.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/episodes/libraries.md b/episodes/libraries.md index 883a9165..2279c8b9 100644 --- a/episodes/libraries.md +++ b/episodes/libraries.md @@ -275,7 +275,8 @@ dtypes: float64(1), int64(13), object(3) memory usage: 10.8+ KB ``` -The `info()` method tells us +The `info()` method tells us: + - we have a RangeIndex of 80, which means we have 80 rows. - there are 17 columns, with datatypes of - objects (3 columns)