From 757c5922dd3491a3e5e720ab62d51a31afecc148 Mon Sep 17 00:00:00 2001 From: lannzach-sul Date: Tue, 8 Apr 2025 13:52:36 -0700 Subject: [PATCH] Fix typo in 'Slicing Subsets of Rows and Columns in Python.' Change syntax slightly for conciseness. Fixed the typo "That is, YOUR specify rows and columns giving a number." Updated "giving" to "using" in above phrase. --- episodes/03-index-slice-subset.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/episodes/03-index-slice-subset.md b/episodes/03-index-slice-subset.md index b1e2117f3..6ef315f2a 100644 --- a/episodes/03-index-slice-subset.md +++ b/episodes/03-index-slice-subset.md @@ -313,8 +313,8 @@ surveys_df = pd.read_csv("data/surveys.csv") We can select specific ranges of our data in both the row and column directions using either label or integer-based indexing. -- `iloc` is primarily an *integer* based indexing counting from 0. That is, your - specify rows and columns giving a number. Thus, the first row is row 0, +- `iloc` is primarily an *integer* based indexing counting from 0. That is, you + specify rows and columns using a number. Thus, the first row is row 0, the second column is column 1, etc. - `loc` is primarily a *label* based indexing where you can refer to rows and