Data science up for first round of review

1) Focus on rspec tests 
2) Stuck at trying to refactor the exception part
Surrounding space missing for operator '=='.<br>Space missing to the left of {.<br>Space missing inside }.