Skip to content

Commit 5e5c583

Browse files
authored
format code as code
1 parent ed3d8cd commit 5e5c583

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

episodes/03-index-slice-subset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ It is worth noting that rows are selected when using `loc` with a single list of
391391
labels (or `iloc` with a single list of integers). However, unlike `loc` or `iloc`,
392392
indexing a data frame directly with labels will select columns (e.g.
393393
`surveys_df[['species_id', 'plot_id', 'weight']]`), while ranges of integers will
394-
select rows (e.g. surveys\_df[0:13]). Direct indexing of rows is redundant with
394+
select rows (e.g. `surveys\_df[0:13]`). Direct indexing of rows is redundant with
395395
using `iloc`, and will raise a `KeyError` if a single integer or list is used; the
396396
error will also occur if index labels are used without `loc` (or column labels used
397397
with it).

0 commit comments

Comments
 (0)