From 108a29af4618a390155640dae77eb54a2d4d52f3 Mon Sep 17 00:00:00 2001 From: PenguinPen <98591579+PenguinPen@users.noreply.github.com> Date: Tue, 25 Feb 2025 23:36:58 +1000 Subject: [PATCH 1/2] making assignment visible on web --- doc/source/getting_started/intro_tutorials/03_subset_data.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting_started/intro_tutorials/03_subset_data.rst b/doc/source/getting_started/intro_tutorials/03_subset_data.rst index ce7aa629a89fc..74440e83fb8ee 100644 --- a/doc/source/getting_started/intro_tutorials/03_subset_data.rst +++ b/doc/source/getting_started/intro_tutorials/03_subset_data.rst @@ -335,7 +335,7 @@ the name ``anonymous`` to the first 3 elements of the fourth column: .. ipython:: python titanic.iloc[0:3, 3] = "anonymous" - titanic.head() + titanic..iloc[:, 3].head() .. raw:: html From db80ed572844f5ff8ea2103b6228771b229d6e07 Mon Sep 17 00:00:00 2001 From: PenguinPen <98591579+PenguinPen@users.noreply.github.com> Date: Wed, 26 Feb 2025 08:54:33 +1000 Subject: [PATCH 2/2] Update doc/source/getting_started/intro_tutorials/03_subset_data.rst Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> --- doc/source/getting_started/intro_tutorials/03_subset_data.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting_started/intro_tutorials/03_subset_data.rst b/doc/source/getting_started/intro_tutorials/03_subset_data.rst index 74440e83fb8ee..ced976f680885 100644 --- a/doc/source/getting_started/intro_tutorials/03_subset_data.rst +++ b/doc/source/getting_started/intro_tutorials/03_subset_data.rst @@ -335,7 +335,7 @@ the name ``anonymous`` to the first 3 elements of the fourth column: .. ipython:: python titanic.iloc[0:3, 3] = "anonymous" - titanic..iloc[:, 3].head() + titanic.iloc[:5, 3] .. raw:: html