Skip to content

Commit

Permalink
Merge pull request #670 from anthonydb/master
Browse files Browse the repository at this point in the history
Docs edit: Add required comma after tuple in aggregate examples
  • Loading branch information
nbedi committed Feb 22, 2017
2 parents 9d8fb17 + 617153c commit ce3544f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cookbook/sql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ agate:
doctors = patients.group_by('doctor')
patient_ages = doctors.aggregate([
('patient_count', agate.Count())
('patient_count', agate.Count()),
('age_mean', agate.Mean('age')),
('age_median', agate.Median('age'))
])
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbook/statistics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ You can also generate aggregate statistics for subsets of data (sometimes referr
doctors = patients.group_by('doctor')
patient_ages = doctors.aggregate([
('patient_count', agate.Count())
('patient_count', agate.Count()),
('age_mean', agate.Mean('age')),
('age_median', agate.Median('age'))
])
Expand Down

0 comments on commit ce3544f

Please sign in to comment.