Refactoring the data science solution

No need for double parentheses