Skip to content

Commit 757c592

Browse files
authored
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.
1 parent 9db049a commit 757c592

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

episodes/03-index-slice-subset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ surveys_df = pd.read_csv("data/surveys.csv")
313313
We can select specific ranges of our data in both the row and column directions
314314
using either label or integer-based indexing.
315315

316-
- `iloc` is primarily an *integer* based indexing counting from 0. That is, your
317-
specify rows and columns giving a number. Thus, the first row is row 0,
316+
- `iloc` is primarily an *integer* based indexing counting from 0. That is, you
317+
specify rows and columns using a number. Thus, the first row is row 0,
318318
the second column is column 1, etc.
319319

320320
- `loc` is primarily a *label* based indexing where you can refer to rows and

0 commit comments

Comments
 (0)