Skip to content

Commit c173121

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/wrangling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,8 +1536,8 @@ you can use the more general [`apply`](https://pandas.pydata.org/docs/reference/
15361536
```{index} pandas.DataFrame; []
15371537
```
15381538

1539-
When we compute summary statistics with `agg` or apply functions using `apply`,
1540-
those give us new data frames. But what if we want to append that information
1539+
When we compute summary statistics or apply functions,
1540+
a new data frame or series is created. But what if we want to append that information
15411541
to an existing data frame? For example, say we wanted to compute the
15421542
maximum value in each row of the `region_lang_nums` data frame using `apply`,
15431543
and to append that as an additional column of the `region_lang` data frame.

0 commit comments

Comments
 (0)