I got a math degree with mostly pure math courses, and did a few CS and data analytics courses on the side. I used to feel a little behind that I didn't do a proper CS degree, but I found math to be a lot more fun and less time consuming.
After a few years in the workplace I don't feel behind at all, and I'm grateful that I have more potential back up plans and won't be just another unemployed CS major if there's a real contraction in the job market. I've been considering pivoting to being an actuary, or possibly teaching high school.