Skip to content

Commit 2ca04b4

Browse files
Update _extras/guide.md
Co-authored-by: Toby Hodges <tobyhodges@carpentries.org>
1 parent 0750fc7 commit 2ca04b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_extras/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ previous steps visible.
212212
* What is the difference between `surveys_df.iloc[0:4, 1:4]` and `surveys_df.loc[0:4, 1:4]`?
213213

214214
While `iloc` uses integers as indices and slices accordingly, `loc` works with labels. It is
215-
like would be in a dictionary, asking for the key names. Column names 1:4 do not exist,
215+
like accessing values from a dictionary, asking for the key names. Column names 1:4 do not exist,
216216
resulting in an error. Check also the difference between `surveys_df.loc[0:4]` and `surveys_df.iloc[0:4]`.
217217

218218
### Advanced Selection Challenges

0 commit comments

Comments
 (0)