Skip to content

Commit b26d2a1

Browse files
Update source/wrangling.md
Co-authored-by: Joel Ostblom <[email protected]>
1 parent fe78ffb commit b26d2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/wrangling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ region_lang
14821482
```{index} pandas.DataFrame; apply, pandas.DataFrame; loc[]
14831483
```
14841484

1485-
We can simply call the `.as_type` function to apply it across the desired range of columns.
1485+
We can simply call the `.astype` function to apply it across the desired range of columns.
14861486

14871487
```{code-cell} ipython3
14881488
region_lang_nums = region_lang.loc[:, "mother_tongue":"lang_known"].astype("int32")

0 commit comments

Comments
 (0)