From d00e799f43c38be41d6dbe9cb1651ab433fcbe7d Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Thu, 4 Jan 2024 15:55:20 -0800 Subject: [PATCH] trying to figure out which code line breaks --- chapters/biocframe/intro.qmd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chapters/biocframe/intro.qmd b/chapters/biocframe/intro.qmd index 73d0ca4..22a2a71 100644 --- a/chapters/biocframe/intro.qmd +++ b/chapters/biocframe/intro.qmd @@ -74,11 +74,11 @@ This accepts different subsetting arguments like a boolean vector, a `slice` obj ::: ```{python} -sliced = bframe[1:2, [True, False, False]] -print("Subset using booleans: \n", sliced) +sliced_with_bools = bframe[1:2, [True, False, False]] +print("Subset using booleans: \n", sliced_with_bools) -sliced = bframe[[0,2], ["symbol", "ensembl"]] -print("\nSubset using column names: \n", sliced) +sliced_with_names = bframe[[0,2], ["symbol", "ensembl"]] +print("\nSubset using column names: \n", sliced_with_names) # Short-hand to get a single column: print("\nShort-hand to get a single column: \n", bframe["ensembl"])