Company differences

What is the difference between consultancy based company and product based company and which is best company for data scientist ?