Skip to content

Commit 5d9cddf

Browse files
authored
correct typo
1 parent c95a3f2 commit 5d9cddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-pandas.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ data %>%
557557
To print all the rows with a certain column name works the same as subsetting rows, but then adding the column name after the comma.
558558

559559
```{.python eval=False}
560-
df[:, "Year_Birth"]
560+
df.loc[:, "Year_Birth"]
561561
```
562562

563563
::: {.callout-note collapse="true"}

0 commit comments

Comments
 (0)