Not necessary if you want to continue as a software engineer. But, Data Science is more promising compared to software engineering because the DS field offers high salaries and job openings. The average salary for a data scientist is $118,370/yr whereas the average salary of a software engineer is $105,590/yr. Comparing the job growth rate, it increased by 16 percent from last year in the software field is and 21 percent increase from last year in the data science field. Also, the Data science field has a high range of job roles compared to software engineering.
If you wish to learn Data Science then enroll in this Data Science Training course by Intellipaat that offers Instructor-led training, hands-on exercises, and job assistance.
Also, watch this video on Data Science: