From 1ba51c1afb75b59166ad0fd8396a7879ac44bfcf Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 26 Feb 2024 21:26:58 +0000 Subject: [PATCH] markdown source builds Auto-generated via {sandpaper} Source : 44050b822be7855d34e17464b35ccc1b3855ea35 Branch : main Author : David Palmquist Time : 2024-02-26 21:25:58 +0000 Message : Merge pull request #602 from datacarpentry/format-code-as-code format code as code --- 03-index-slice-subset.md | 2 +- md5sum.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/03-index-slice-subset.md b/03-index-slice-subset.md index 664d7e314..b1e2117f3 100644 --- a/03-index-slice-subset.md +++ b/03-index-slice-subset.md @@ -391,7 +391,7 @@ It is worth noting that rows are selected when using `loc` with a single list of labels (or `iloc` with a single list of integers). However, unlike `loc` or `iloc`, indexing a data frame directly with labels will select columns (e.g. `surveys_df[['species_id', 'plot_id', 'weight']]`), while ranges of integers will -select rows (e.g. surveys\_df[0:13]). Direct indexing of rows is redundant with +select rows (e.g. `surveys\_df[0:13]`). Direct indexing of rows is redundant with using `iloc`, and will raise a `KeyError` if a single integer or list is used; the error will also occur if index labels are used without `loc` (or column labels used with it). diff --git a/md5sum.txt b/md5sum.txt index 3be018518..98e5513df 100644 --- a/md5sum.txt +++ b/md5sum.txt @@ -7,7 +7,7 @@ "episodes/00-before-we-start.md" "ebe85974a41ebf4f30d52aa1eeb4783b" "site/built/00-before-we-start.md" "2024-02-21" "episodes/01-short-introduction-to-Python.md" "c94d05a1efb9a917e75dcd56ad344862" "site/built/01-short-introduction-to-Python.md" "2024-02-21" "episodes/02-starting-with-data.md" "7aae8d49ef03e5c65d66cc0104ddbf10" "site/built/02-starting-with-data.md" "2024-02-23" -"episodes/03-index-slice-subset.md" "a66d6b8003b0ed3756cbc64a08784b76" "site/built/03-index-slice-subset.md" "2024-02-21" +"episodes/03-index-slice-subset.md" "91e95c665d499c6e7df5aaa3001cc2f0" "site/built/03-index-slice-subset.md" "2024-02-26" "episodes/04-data-types-and-format.md" "e57b9b771e5d2dcf4c9e2521822f8d5a" "site/built/04-data-types-and-format.md" "2023-06-05" "episodes/05-merging-data.md" "8491d51a41ad970f69acac6162e97432" "site/built/05-merging-data.md" "2024-02-21" "episodes/06-loops-and-functions.md" "d41f11e6c162c86393cd9bd4431c0687" "site/built/06-loops-and-functions.md" "2023-05-18"