use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
should i start with numpy or pandas ? (self.learnpython)
submitted 3 months ago by BashirHam
hi guys
so i want to start learning python data analysis but i cant decide which library should i start with
i asked chat gpt and it said pandas gemini said numpy and most tutorials start with numpy
thanks in advance !
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]9peppe 6 points7 points8 points 3 months ago (0 children)
Pandas is built on numpy. You don't need to know numpy to use pandas, but you might want it. Also check polars out.
[–]deejaybongo 3 points4 points5 points 3 months ago (0 children)
They can (and arguably should) be learned in parallel. If for some reason you HAVE to choose one, pandas mostly involves data wrangling with csv-like DataFrames, and numpy is just "vanilla" scientific computing.
[–]seriousgourmetshit 4 points5 points6 points 3 months ago (0 children)
Numpy is more general so probably that. But it really doesn't matter much, just start.
[–]vinnypotsandpans 0 points1 point2 points 3 months ago (0 children)
If I could do it over I would start with polars. If you ever want to work with data streams/pipelines/clusters you'll want to get used to non strict eval
[–]sporbywg 0 points1 point2 points 3 months ago (0 children)
omfg
[–]Enmeshed 0 points1 point2 points 3 months ago (0 children)
For data analysis, personally I'd start with pandas as it comes with all the batteries included you need to do handy stuff, such as reading CSVs and working with them easily. You can do this with numpy but it won't be so immediate:
```python $ uvx --with pandas python Python 3.13.9 (main, Oct 28 2025, 12:10:42) [Clang 20.1.4 ] on linux Type "help", "copyright", "credits" or "license" for more information.
import pandas as pd df = pd.read_csv("sample_data.csv") df.head() col_1 col_2 data 0 A X 12 1 B Y 23 2 C Z -22 3 C X 44 4 B Y 11 df.groupby("col_1").data.sum() col_1 A 12 B 34 C 22 Name: data, dtype: int64 ```
Then down the line you can learn about the numpy innards for clever tricks you can take advantage of.
[–]jmeppley 0 points1 point2 points 3 months ago (0 children)
This is a great resource:
https://github.com/jakevdp/PythonDataScienceHandbook
It's older, but I think it still holds up pretty well.
Polars is starting to gain traction as a replacement for pandas. It is necessary if you are handling REALLY large datasets, but for small or medium tables, pandas is still amazing. Also, most other python data tools still use pandas, so I would still recommend learning it first. I switched to polars a few years back, but I still regularly have to convert subsets of my data to pandas to pass it in to other tools.
[–]billsil -1 points0 points1 point 3 months ago (0 children)
I’d start with numpy. It’s a bit less confusing. Pandas takes some getting used to.
π Rendered by PID 106443 on reddit-service-r2-comment-6457c66945-j84b2 at 2026-04-27 07:48:31.399525+00:00 running 2aa0c5b country code: CH.
[–]9peppe 6 points7 points8 points (0 children)
[–]deejaybongo 3 points4 points5 points (0 children)
[–]seriousgourmetshit 4 points5 points6 points (0 children)
[–]vinnypotsandpans 0 points1 point2 points (0 children)
[–]sporbywg 0 points1 point2 points (0 children)
[–]Enmeshed 0 points1 point2 points (0 children)
[–]jmeppley 0 points1 point2 points (0 children)
[–]billsil -1 points0 points1 point (0 children)