For Data Science, you don’t require to learn Python in-depth. You need to learn the basics of Python such as oops concepts, data types, control statements, functions, multithreading, and exception handling. After getting familiar with the fundamentals, learn using the Numpy library for mathematical computing and pandas library for handling tabular datasets. Also, learn using scikit-learn library and frameworks like Tensorflow or Pytorch for building machine learning and deep learning models. Then, get familiar with the libraries like matplotlib, seaborn, plot.ly libraries for data visualization.
If you are looking for a course to learn Python for Data Science, you can check out this Python for Data Science Course program by Intellipaat.
You can watch this video to know how to learn Python for Data Science: