Hi,
This is a follow up from:
#57
The point of the issue is for a pass through function. It is a small bit of code, but can clearly make the parameters needed for a function specified. It is easier for both a human and IDEs to be able to determine that the function
@ck.has_columns(df='df',columns=['grade','extra_credit','total_assignment_score'])
def aggregate_totals(df):
needs three columns with specific names. the user of the code shouldn't have to read through the source to determine the names, and just putting into docstring doesn't enforce the definition. Self documenting code is better than a docstring.
Also, this issue also covers multiple return dataframes that the current implementation does not implement.
I have the code (it is short and sweet) and and the associated tests that I can create a pull request from.
Thanks
Hi,
This is a follow up from:
#57
The point of the issue is for a pass through function. It is a small bit of code, but can clearly make the parameters needed for a function specified. It is easier for both a human and IDEs to be able to determine that the function
needs three columns with specific names. the user of the code shouldn't have to read through the source to determine the names, and just putting into docstring doesn't enforce the definition. Self documenting code is better than a docstring.
Also, this issue also covers multiple return dataframes that the current implementation does not implement.
I have the code (it is short and sweet) and and the associated tests that I can create a pull request from.
Thanks