Skip to content

Commit d39b9c3

Browse files
author
Scott Warchal
committed
update README agg_func => method
1 parent 884f0e1 commit d39b9c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ merger.to_db_agg(select="DATA", header=[0,1], by="ImageNumber")
7979
This will group the data by ImageNumber and create a row with a median value
8080
for each image.
8181

82-
We can change the aggregation function by passing the `agg_func` argument.
82+
We can change the aggregation function by passing the `method` argument.
8383

8484
```python
85-
merger.to_db_agg(select="DATA", header=[0,1], by="ImageNumber", agg_func="mean")
85+
merger.to_db_agg(select="DATA", header=[0,1], by="ImageNumber", method="mean")
8686
```
8787

8888
This will create a table called `DATA_agg` in the database, with a row per

0 commit comments

Comments
 (0)