dfply
dfply copied to clipboard
Throw error when grouping by an unknown column (closes #81)
One quick note: I put assert_known_cols()
inside group_by()
instead of within group_delegation.__call__()
b/c I wanted the error to be thrown even if no grouped function is called on the data. In other words, I wanted there to be an error when running code like this:
x = diamonds >> group_by('bad_col')
FYI, this is failing on Travis b/c Python 3.7 can't be installed