danfojs icon indicating copy to clipboard operation
danfojs copied to clipboard

danfo.drop() add a error handler

Open Emporea opened this issue 4 years ago • 0 comments

It would be nice to have an argument in drop() and probably other functions on how to handle errors. If one column in a list of columns to drop does not exist it throws Error: ParamError: specified column "example_column" not found in columns

Pandas does provide the options errors{‘ignore’, ‘raise’}, default ‘raise’

Emporea avatar Jan 20 '22 00:01 Emporea