Pros and cons of doing MS vs Phd

Hello ,
I am exploring option of doing Phd vs MS. .I would like to focus on data science.
Can I work part time in a software company while doing Phd or MS…
What are pros and cons of doing MS vs Phd . I would like to join analytics in Industry

Thanks

Well, the goal of MS is typically to do PhD in the future to get into research or teaching. Readwork after 2 semseters in CPT for 20 hours a week. If your goal is to work in US and not research, you should consider different path, there is no need to do MS for that.