Learning Python on Visual Studio Code

Today I was fiddling around with setting up python on Visual Studio Code a very elegant text editor that is well integrated with various programming languages. I had been using it for a while for editing bash code, and after exploring a few IDE options, I decided to just stick with it. Today I spent some time integrating python with VS code, and going through a machine learning exercise in python.

One note that I will make is that it makes sense to work with a virtual environment (I prefer conda), so that we can install python packages without disrupting the computer base code. Here and Here and Here are useful links with dealing with conda virtual environment and python.

As a side note, sci-kit seems like a generally useful package for implementing machine learning, and pandas seems to. be particularly useful for working with data frames. They even have a conversion table for R users!
Sci-Kit: https://scikit-learn.org/stable/
Pandas: https://pandas.pydata.org/
Pandas conversion table for R: https://pandas.pydata.org/docs/getting_started/comparison/comparison_with_r.html#compare-with-r

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s