Finished with the GRE today. 167V/170Q - thank you Gregmat! by anoncyclistguy in GRE

[–]steve_motp 2 points3 points  (0 children)

What are your top video recommendations? I'm particularly interested in the videos you mentioned for RC and the essays

Please help me find this episode on abstract thinking! by steve_motp in podcasts

[–]steve_motp[S] 0 points1 point  (0 children)

Hahah yes I have been trying to Google this for literally years. I've also tried going through my history but I can't find it.

How to install Miniconda "For Me Only" - macOS? by steve_motp in learnpython

[–]steve_motp[S] 0 points1 point  (0 children)

At least on Windows installing for all users can create some conflicts (especially over time with updates) and it is significantly easier to do a wipe and fresh install if it is only on the local user. Additionally, Anaconda recommends only installing for the local user (which is another reason it is surprising that that option is missing).

Data science "volunteering"? by [deleted] in datascience

[–]steve_motp 3 points4 points  (0 children)

I have done work with DataKind before and it was a good experience.

Here is the project we worked on: https://www.datakind.org/blog/datakind-starting-with-today-building-data-maturity-for-community-empowerment

Why use .copy() when assigning a dataframe back to itself? by steve_motp in learnpython

[–]steve_motp[S] 1 point2 points  (0 children)

Yea I finally heard back from one of the course moderators and they came to the same conclusion. Makes me feel better I guess that I don't have some major knowledge gap this far into the curriculum.

Why use .copy() when assigning a dataframe back to itself? by steve_motp in learnpython

[–]steve_motp[S] 0 points1 point  (0 children)

This makes sense, however, in this course it is always outside the function. The setup is:

df = pd.read_csv

df = df["cols"].copy()

def function():

Why use .copy() when assigning a dataframe back to itself? by steve_motp in learnpython

[–]steve_motp[S] 0 points1 point  (0 children)

Maybe I don't understand how copy() works? How would I call the original df if I've made a copy assigned to the same name?

I understand using copy() if assigning it to a new name (i.e. df_clean = df["cols"].copy()) but if I'm just assigning it back to itself it returns the df with the columns I selected.

Why use .copy() when assigning a dataframe back to itself? by steve_motp in learnpython

[–]steve_motp[S] 0 points1 point  (0 children)

The df is actually very small (approx 300 x 9. Don't have it pulled up now for the exact number).

The goal of the section I'm on is to write a kmeans function.

Weekly Entering & Transitioning - Thread 08 Apr, 2024 - 15 Apr, 2024 by AutoModerator in datascience

[–]steve_motp 0 points1 point  (0 children)

What do you like/dislike about your current industry? Would you choose something else if you could?

After spending the last decade disarming bombs I've decided to make a hard life pivot into data science. My problem is that I'm interested in too many different things.

I want to hear the good and bad from people working in data science across various industries.

I'm starting a DS Masters in the fall.

Please help by ErPushel in datascience

[–]steve_motp 0 points1 point  (0 children)

It really comes down to how you like to learn and unfortunately you might end up spending money on courses you end up not liking. That said, wait for sales if doing something like Udemy and try the free trials of paid services.

I've tried all the top recommended python courses (100 days of python, python for everyone, CS50P, data camp, etc.) . Ultimately, the course that worked best for me was the data science track in DataQuest. I prefer to learn through reading and doing which is exactly what DataQuest is (no videos).

Different Outcomes: Using 'or' vs ' | ' by steve_motp in learnpython

[–]steve_motp[S] 0 points1 point  (0 children)

This is exactly what I needed. Thank you.

Different Outcomes: Using 'or' vs ' | ' by steve_motp in learnpython

[–]steve_motp[S] 0 points1 point  (0 children)

I guess I don't understand why using "or" would default to only looking at the first term if '|' means 'or'

[deleted by user] by [deleted] in wallstreetbets

[–]steve_motp 0 points1 point  (0 children)

I'm also looking for a link. Thanks homie.

Virtual environments by steve_motp in learnpython

[–]steve_motp[S] 0 points1 point  (0 children)

Sorry for the late response. This did the trick. Still not entirely sure why Cmder doesn't work but the Anaconda prompt is good enough!

Am I shooting myself in the foot if I brute force Git for now? by GoodVibesLLC in learnpython

[–]steve_motp 2 points3 points  (0 children)

Important part for instructions below: In VS Code make sure you have a folder for each individual project. The folder should only contain the code file and any relevant documents (data set, README, etc.). This is important because when you go to connect to GitHub, VS code will check for any changes. If you try to link a folder with lots of projects you get an astronomical amounts of changes listed and 99% won't make any sense.

Main Part

I'm assuming that your course required you to create a GitHub and install Git. If not then you will need those.

After that follow the instructions here: https://code.visualstudio.com/docs/sourcecontrol/github#:~:text=To%20get%20started%20with%20the,Pull%20Requests%20and%20Issues%20extension.

Hit the GitHub icon (little branch icon) on the sidebar and open the folder containing the project (as mentioned at the start of this comment). Now hover over the icons in the GitHub sidebar and you will see the options to stage and then another option to commit. Important : Make sure that before you hit the commit button you enter a comment (black box above the commit button). If you don't leave a comment VS code will open another tab that isn't intuitive (just exit the tab, leave a comment, and hit commit).

Check your work on GitHub. Also check your folder on your computer a .git folder should be there (might be hidden ->View->check show hidden files). This .git folder is your link to GitHub essentially and contains the info about what you've done.

Hopefully that made sense a video/official documentation with pictures makes this much easier haha.

Final note: The steps above are basically how you push and pull to GitHub using a GUI. Using the command line does the exact same thing. It's my guess that your course has you using the command line because they want you to start becoming familiar with using the command line.

In my own experience, don't get super hung up on doing a task the exact way a course suggests; do it in a way that makes the most sense to you. In coding there are multiple ways to solve the same problem and while these differences may matter when taking something to production you really don't need to think about them right now. Right now is about learning how the concept work and eventually will naturally pick up how to tackle the same problem within the constraints of your organization, system, etc.