Refactoring the data science solution

Space missing to the left of {.