As noted in the documentation, passing custom aggregation functions to summarize is not massively user-friendly due to the edge cases involved that any custom function needs to handle (e.g. None values). We should allow some more standard functions to be passed (e.g. np.sum), and offer alternative methods for changing the defaults.