Skip to content

Commit f2ba0fc

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

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
@@ -1565,7 +1565,7 @@ Remember to specify `axis=1` in the `apply` method so that we compute the row-wi
15651565
```{code-cell} ipython3
15661566
:tags: ["output_scroll"]
15671567
region_lang.assign(
1568-
maximum = region_lang_nums.apply(max, axis=1)
1568+
maximum=region_lang_nums.max(axis=1)
15691569
)
15701570
```
15711571
This data frame looks just like the previous one, except that it is a copy of `region_lang`, not `region_lang` itself; making further

0 commit comments

Comments
 (0)