dfply icon indicating copy to clipboard operation
dfply copied to clipboard

Throw error when grouping by an unknown column (closes #81)

Open crew102 opened this issue 6 years ago • 1 comments

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')

crew102 avatar Feb 08 '19 21:02 crew102

FYI, this is failing on Travis b/c Python 3.7 can't be installed

crew102 avatar Feb 08 '19 22:02 crew102