If the user specifies a column in as index that doesn't exist a KeyError gets thrown.
What is the way to handle this? We could
a) throw an error (that explains the problem better to the user than now) and abort or
b) warn and try to fix this by either deleting the faulty column specifier or generating a new index from scratch.
I would do variant a)
If the user specifies a column in as index that doesn't exist a KeyError gets thrown.
What is the way to handle this? We could
a) throw an error (that explains the problem better to the user than now) and abort or
b) warn and try to fix this by either deleting the faulty column specifier or generating a new index from scratch.
I would do variant a)