Alright, let's break down the software engineer vs. data scientist salary question. Generally speaking, both roles are well-compensated, but there are nuances.
Entry-level salaries can be pretty similar, but as you gain experience, the divergence can become more noticeable. Data science roles often command a premium, especially if you're working with cutting-edge technologies like machine learning or AI. However, that also means that you need pretty specialized skills to get there.
Location matters a ton. San Francisco, New York, and Seattle will generally offer higher salaries than, say, Austin or Atlanta, but the cost of living is also a factor. A $200k salary in San Francisco might feel like $150k somewhere else. I would recommend looking at sites like Glassdoor, Levels.fyi, or Built In to get a better idea of the salary ranges for specific companies and locations.
Don't just focus on the money, though. Think about which role aligns better with your interests and skills. A higher salary won't make you happy if you hate your job. Both fields have great career growth potential, so consider what you enjoy doing first and foremost. Good luck!