r/learndatascience • • 2d ago

Question Which Python libraries are most important for Data Science beginners ?

I'm starting my Data Science journey with Python and want to understand which libraries are most useful for practical projects and industry requirements

14 Upvotes

7 comments sorted by

4

u/MAJESTIC-728 2d ago

Start with numpy and pandas 

0

u/[deleted] 2d ago

Here's a good book to start with: https://wesmckinney.com/book/ (Python for Data Analysis, 3E)

3

u/PanWibson 2d ago

Start with Pandas because many people still uses this. Understand the concept of data frames. Be able to load, transform and write different formats. Next be able to transform the frames, filter them and join them. Once you feel there safe move on to
Polars. It’s a newer library, extremely fast, introduces lazy frames, which will provide you a concept od lazy loading used in big data.

4

u/skatastic57 2d ago

Skip pandas and go for polars or duckdb. Duckdb has the potential benefit of using SQL which gives you practice with SQL. They both wildly outperform pandas and have better ergonomics than pandas.

1

u/[deleted] 2d ago

Agree to check out duckdb, but it may be jumping the gun as a beginner, there is no need to do full data engineering if all you need is a couple of plots.

1

u/Atmosck 2d ago

Numpy and pandas are where you should start as far as data mainpulation. I would also recommend getting familiar with sklearn, scipy, optuna and xgboost.

People will tell you to ignore Pandas and instead use things like polars, pyarrow or duckdb. Those are important libraries and worth using, you you need to learn to walk before you run. The current state of Pandas (3) is much better than it's reputation, and working with it will give you a good understanding of how object-oriented data workflows work, and why those other libraries exist. In professional settings, Pandas is still the right choice for small-to-medium tabular datasets.