#๐ Roadmap help (data analysis)
53 messages ยท Page 1 of 1 (latest)
@edgy oyster
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
what do you mean with "native python"?
libraries like numpy, pandas, polars, seaborn and others are important
have you checked the site roadmap.sh? i don't know how good it is, i've only seen other refer to it
we have #data-science-and-ml here on the server which might be of interest to you
!res
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
you might find some resources through the link above
not really
native python : python without libraries and yes I checked that website. It is a question/getting help section so here is better to ask.
you do need libraries if you are going to do serious data analytics with python, python does not come with batteries included, much of the strength of python comes from it's vast access to libraries
i wonder why you don't want to use libraries
I know but I do not need help for that part
I never said like that
I just dont ask it now ๐
okay, so you need help learning core python?
okay, then you need the basics and it will probably not be very focused on data science or data analytics
do know any programming in any other language?
do I have to know the topics deeply or just as an knowledge you know. Like I do not know how advanced I should go for
I know python only but dont know how deep I should go which topics I should focus on the most etc
you need to understand variables, data types, conditionals and loops quite deeply to start with
then you can start looking into using libraries like numpy and pandas as learning how to use them will be very important to you as it's quite different from core python even if you still need the python basics
what about tuples lists dictionaries sets?
they are data types which i mentioned as core pillars
oh true
hmm then I am actually done ๐
but you think loops quite deeply
could u share some examples
for loops will be very common, some while loops as well
have you used other programming languages before?
no
most other programming languages have a totally different kind of for loops, pythons for loops are what other languages usually call for each loops where you iterate through the elements directly instead of using a counter and then indexing in to lists or tuples
do you think some of the topic here are unnecessary for me to learn becauae for ecample ฤฑdk exception handling unpacking assertions etc.
you can still do that in python, but most of the time that isn't what you want to do in python
often it's better to use the python native way of using for loops in python
I dont have experience in any other language so I wont be confused ๐
no, but you might see that kind of code online at different places
i think those topics are pretty much on point
but the multiple assignment is more often used for unpacking other data structures
oh I need to learn them then... AaAaAaa ๐ thank you so much
something that you can have very good use for with for loops is enumerate()
!d enumerate
enumerate(iterable, start=0)```
Return an enumerate object. *iterable* must be a sequence, an [iterator](https://docs.python.org/3/glossary.html#term-iterator), or some other object which supports iteration. The [`__next__()`](https://docs.python.org/3/library/stdtypes.html#iterator.__next__) method of the iterator returned by [`enumerate()`](https://docs.python.org/3/library/functions.html#enumerate) returns a tuple containing a count (from *start* which defaults to 0) and the values obtained from iterating over *iterable*.
```py
>>> seasons = ['Spring', 'Summer', 'Fall', 'Winter']
>>> list(enumerate(seasons))
[(0, 'Spring'), (1, 'Summer'), (2, 'Fall'), (3, 'Winter')]
>>> list(enumerate(seasons, start=1))
[(1, 'Spring'), (2, 'Summer'), (3, 'Fall'), (4, 'Winter')]
```...
for when you want to process a list like structure and still want to have the index or a counter that is connected with the element that you are processing from the list like structure
list (and other) comprehensions can also be very useful to know how they work
Yes I know this one I like zip() as well
yes, zip() is very useful as well
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.
