TypeError exception raised instead of SyntaxError
So to reproduce this issue you need a DataFrame where text contain contains double quotes " (no issue with single ')
Then when working with PyAgrum (version 0.19.0) it will try to raise SyntaxError but will fail because of a issue with C/C++ code
Wrong number or type of arguments for overloaded function 'new_SyntaxError'.
Possible C/C++ prototypes are:
gum::SyntaxError::SyntaxError(std::string const &,gum::Size,gum::Size,std::string const &)
gum::SyntaxError::SyntaxError(std::string const &,gum::Size,gum::Size)
error.stack_trace
File "/home/talend/.local/lib/python3.8/site-packages/pyAgrum/pyAgrum.py", line 2547, in __init__
_pyAgrum.SyntaxError_swiginit(self, _pyAgrum.new_SyntaxError(*args))
and raise a TypeError