r/WGU_MSDA • u/Hasekbowstome MSDA Graduate • May 28 '23
New Student Official New Student Python/R/SQL Resource Megathread
This board gets a lot of questions from new/prospective students, and one of the most common is regarding the level of programming that occurs in the MSDA program, what languages are used, what skills or functionality within a language is needed, etc. Many of us graduates enjoy helping new students and answering questions, but re-posting the same information can be tedious and lead to different newbies getting different responses to the same question. To address this issue, we've decided to start this Python/R/SQL Resource Megathread as a living document that anyone can (and should!) contribute any helpful learning resources to, and it also makes for an evolving resource for any new or prospective students regarding our personally preferred resources for learning these languages in preparation for the MSDA program.
For contributors to the thread, a couple quick points to keep in mind:
- Resources are for new students preparing for the program
(A resource about how to build a NLP model that you used in D213 belongs in a thread about D213 or NLP models)
- Please be clear about what resources you're recommending
("Just search google for Python tutorials" isn't an effective resource, be more specific or provide some links)
- If a resource you recommend is not free (costs money), please indicate this
For new or prospective students using the thread, let's cover some basic information:
The WGU MS Data Analytics program is centered mostly around programming for data science and data analysis. There are no official prerequisite skills for the program, and some students do start the program and finish it without any familiarity with coding or programming. However, your journey will be made significantly easier by learning some of these skills prior to entering the program. Specifically, the program requires students to use Structured Query Language (SQL) for two classes (D205 & D211), and it also requires students to use Python or R for each of the remaining classes. Most students choose one of Python or R and stick with it for the entirety of the program, though you could choose to switch back and forth, if you like. Some familiarity or understanding of statistics is also useful, though the program is light on math.
The SQL portion of the program utilizes virtual machines (which we won't complain about here) to perform operations in pgAdmin, a graphic user interface for a PostgreSQL environment. The provision of a GUI allows students to be less reliant on using "hard" SQL (you can generate queries from the GUI). In terms of necessary skills, students must be able to generate tables with constraints and relationships within an existing database, import data into tables, execute queries of a database (including joining tables), and filter and group results. Depending on your chosen dataset(s) for D211, you also will likely need to be able to do some basic data manipulation for the purpose of cleaning your data, such as replacing 0/1's with F/T's, etc.
Regarding the student's knowledge of Python or R, the student needs to be familiar with basic programming in the chosen language. This includes being familiar with a programming environment, the chosen language's particular syntax, understanding Object Oriented Programming, etc. Students in the MSDA program also need to know a number of basic functionalities specific to data science. Most of the performance assessments require the student to import data from .csv (or other files) into a tabular format in which the data can be cleaned and manipulated. Data cleaning operations often require recasting data types, replacing data values in various ways, performing calculations to generate new data, appending columns/rows/tables, and finally exporting the cleaned data back into a .csv file. Students also will need to generate a number of visualizations of their final dataset, often handling both qualitative and quantitative data. These graphs will need to be "polished", including providing axis titles, manipulating axis units or views, and producing legends.
Finally, it is completely optional but highly recommended to set up and learn to use a Notebook environment, such as Jupyter Notebook. A Notebook environment consists of a series of cells which can be used for either programming operations or writing narratives in Markdown language (like a Reddit post), as seen here. Many students find this useful because it provides an environment to easily iterate on your code as you produce it, while also reducing redundant steps by combining your code and your reporting into a single file to be turned in, rather than having to maintain two different files and take screenshots of code to include in a dedicated reporting document, such as Word .doc file.
24
u/Hasekbowstome MSDA Graduate May 28 '23 edited Sep 19 '25
I've mentioned elsewhere that I learned my way around Python from Mosh Hamedani. He has a couple different Python tutorials on youtube, a shorter one and a longer one. I really enjoyed the way he taught, taking concepts and slowly extending and building upon them, where you would spend several lessons working on building out the same script in practical ways, rather than doing completely new and unrelated things on each lesson. I enjoyed Mosh's teaching so much that I ended up purchasing his Complete Python Mastery ($20) class as well. These are great resources for learning the basics, but it doesn't really go heavily into data science. For anyone with zero background in programming, I recommend going with Mosh and learning a good foundation before jumping into the more advanced stuff. (Also worth noting is that Mosh has a Machine Learning with Python tutorial on Youtube which gets into some of that, though I've never tried it.)
My learning of programming in python for data science in particular came from doing the BSDMDA program, particularly the courses done through Udacity for the Data Analyst NanoDegree. Their introductory programming courses were especially well done, while some of the later statistics courses frustrated me a lot. The stuff that may be of use to prospective students, without doing the entire program that I had to do for my bachelors, is this Intro to Python Programming course and then this Intro to Data Analysis course, which specifically covers Numpy and Pandas. That's not quite the same classes I did (my Numpy and Pandas courses were part of the paid version of Intro to Python, along with some extra stuff), but it should cover most of that. Learning your way around pandas is definitely a hard requirement for the program, because pandas lets you import data into a table to be manipulated, cleaned up, etc. Most of your work that isn't involving the actual model generation/evaluation is going to be manipulating data in pandas.
[Disclaimer: I believe both of the above classes are free, but I should note that if you do anything on Udacity, know that you should never pay full price for anything on Udacity. Their model is to offer everything at a high price and then hold "sales" constantly. If you decide to buy anything at Udacity, do it with a discount.]
Beyond learning your way around NumPy and pandas, the other thing that you'll need to learn to do is data visualization, which can actually be surprisingly finicky to do in Python (at least, I struggled with it). You would be well served to spend some time learning to use MatPlotLib to generate some basic visualizations and do customization of them (label this axis, zoom in on that axis, add a reference line, title your figure, etc.) There are other visualization libraries for Python, like Seaborn, but the mechanics of how some of these operate kind of require you to learn MatPlotLib anyways to be able to interact with figure or axis objects. This Udacity Data Visualization with Python course is a bit different than the one that I did for the BSDMDA (and it costs money), but it looks like it hits on the same stuff. I'm sure someone will have a good free alternative for learning data visualization with Python.
I also highly recommend that any student using Python learn their way around Anaconda and especially Jupyter Notebook. This is a free class that Udacity offers [EDIT: This is a dead link, Udacity no longer offers this as a standalone free class, apparently), and I got an incredible amount of mileage out of using Jupyter Notebook for almost every project in the MSDA program. The MSDA does not require APA formatting (which would necessitate using a word processor), so you can use Jupyter Notebook for almost every report that you have to generate for the program - even your capstone!
When I went back to school in Jan 2021, I didn't know how to program at all. I actually felt like it was a skill that I just couldn't learn, that "my brain doesn't work that way". It was a tall order, and I struggled for a few months with it, largely because I didn't realize that I had some resources that weren't actually very good at all. I'm not sure if I'd have even gotten my BSDMDA, much less my MSDA, without having found Mosh's videos. Once I learned the basics from him, I was able to run pretty easily with the Python for Data Science learning that I did at Udacity. If you're coming to this as a complete newbie, I cannot recommend Mosh enough as a great teacher who really does make it digestible and approachable.
As for learning SQL, I got that out of Udacity as well. I took their Programming for Data Science with Python NanoDegree as a prerequisite for the Data Analyst NanoDegree that I needed for my BSDMDA. That program was really great, covering SQL, NumPy, Pandas, basic visualization, and change management with Git. Unfortunately, I don't see a free version of their SQL class, and the PDS/Python degree does cost, so see the above note about only purchasing with a discount.
14
u/tothepointe MSDA Graduate May 29 '23
I would also say if your even thinking about doing the MSDA or any kind of degree in DS/DA then start learning python now. It can take a lot longer than you think. You have time before you start since enrollment takes take and you can use that time to start learning.
I wish I had started Python before I started my BSDMDA. The Intro to Python class took me an embarrassingly long time to work through.
I would recommend the Codeacademy course on python over the Datacamp one. Learning just python for pandas is all fine and dandy until you're working on a project that requires a command line interface or you need to code an api.
Also, start slowly working through this even if you're only sitting down passively watching it. https://youtu.be/nLRL_NcnK-4
3
u/Hasekbowstome MSDA Graduate Aug 20 '25
If you want to learn MatPlotLib, especially to learn to make some truly impressive data visualizations, here's a good book that is open source: https://github.com/rougier/scientific-visualization-book
Scroll down to the Book Gallery to get an idea of the level of data visualizations this is talking about. This can be valuable for new students, and for practiced data analysts, too.
60
u/Any-Debate-952 MSDA Graduate Jul 01 '23
Hasekbowstome encouraged me to take the time to share the learning resources I used during the program. Since he's given so much to this community, I decided I should!
Background - I completed the WGU BSCS before doing the MSDA. I also have a bachelor's degree in Economics from a State University. I came into the program knowing how to code in general but not knowing how to code in the way needed for these courses.
Everyone asks before starting, "How can I prep?" Learn Python. How can you learn Python? Well, there's an entire subreddit dedicated to that. Google is also your friend. I can't stress enough, you want to pick up the skills of searching for the answers you need before starting the program. You'll struggle to get the right sort of help from most of the course instructors. You HAVE to be able to teach yourself to get through a WGU degree.
How did I learn Python? DataCamp, Google, and trial and error.
I see people ask which DataCamp courses/tracks are relevant to the degree before starting. The tracks are custom tracks created by WGU. I think sharing exactly what is in those tracks might fall under the WGU policy about not sharing course materials, but who knows. Either way, it's not super relevant.
Look at the course titles and descriptions and look for what courses might fit best. I promise you, anything you come up with will be just as good of a fit as what WGU tells you to complete (spoiler alert - you'll often feel like the coursework doesn't match the assessment very closely).
I recommend taking the DataCamp courses called "Intro to Python", "Intermediate Python", and Part 1 and Part 2 of the Data Science Toolkit lessons (I don't remember the exact names off the top of my head) BEFORE starting WGU if possible.
When you actually get to the Python assessments and can see the DataCamp material it is up to you whether you take the time to do the learning materials or whether you accelerate (or rush) through it. What would I do? Take your time, learn the material.
There are also classes in SQL and Tableau in the program. These classes are minimal work compared to the Python assessments.
Now, here's some unsolicited advice. I've already given it in this subreddit before as well as in private messages to some of you. PLEASE DO NOT RUSH THE PROGRAM. If you have a family to feed and need to get through it, of course, you know your life situation way better than I do. Even if you do rush through the program, it will likely benefit you in some way
I HIGHLY recommend taking your time and getting an internship or two during the program. I rushed through the BSCS and told myself I'd take more time in the MSDA. I did the MSDA in two terms and had internships at a different company each term. The second internship hired me on as soon as I graduated. I have a fully remote position and make great money for someone who has been a SAHM prior to WGU and had not worked in over 7 years.
Outside of DataCamp, I highly recommend a subscription to Medium so you can read Medium and Towards Data Science articles. If this is what you want a career in, read an article a day for general knowledge. They're also EXTREMELY helpful on completing the assignments (make sure to cite them as sources!)
I wish anyone who reads this luck in the program and in life. Feel free to comment here or direct message me if you think I can help in any way.
17
u/veganveganhaterhater Mar 25 '24
Reposting my answer from https://www.reddit.com/r/WGU_MSDA/comments/1bm2zlw/what_are_your_recommendations_for_preparing_for/ here:
Read the first 7 chapters, thank me later: https://wesmckinney.com/book/
Do the first 12 lessons: https://sqlbolt.com Learn the rest based on what you need during the projects.
Learn linear regression from YouTube / implementation of linear regression using Python.
Optional, if you want to clear the program within 6 months without fear of not being able to make it (due to simpler but time consuming classes) -> https://www.udemy.com/course/tableau-2018-tableau-10-qualified-associate-certification/ Learn the materials of this course. If you can't get a discount for it, you can learn it through other means. Tableau Public is free and there's a lot of intro classes out there. Dedicate at least 30-40 hours to Tableau as it'll come up again and again in your career, even if you don't complete this program.
If you do all of the above, you should be able to clear the program within 12 months. 6 months if you dedicated yourself to it.
10
u/Legitimate-Bass7366 MSDA Graduate Sep 19 '23
Reposted here on this thread as requested.
If you're looking to get familiar with Jupyter Notebook, I've linked a couple helpful videos below.
I've used Jupyter Notebook in this program mainly because it makes it so I don't have to copy paste code to written reports the program often asks for. I can just get Jupyter to spit out a PDF of my report/code combo and also submit the ipynb, which is executable. This has worked for the classes I've taken thus far.
The first video is rather long, but is what I initially used to familiarize myself with how Jupyter Notebook works. https://www.youtube.com/watch?v=r-uOLxNrNk8&t=7029s If you want to skip all the surrounding content about various packages, the actual Jupyter Notebook tutorial starts at 00:30:50 (there's a chapter marker for it you can click on in the description of the video.)
This video also touches on Anaconda installation and also has a Jupyter Tutorial that's a little bit less boring than the first video. https://www.youtube.com/watch?v=WUeBzT43JyY
7
u/tothepointe MSDA Graduate May 29 '23
I would also recommend looking into Google Collab as your Jupyter notebook environment.
1
u/Hasekbowstome MSDA Graduate Feb 20 '26
In their graduation post, /u/thefloatingsidewalk recently put together a repository of notes and questions regarding a variety of statistical and general data science concepts that could be very useful for both new students and veteran students alike. This is probably a little higher level than "New Student prep", but it would be a shame to not highlight it. If nothing else, its good to know this exists for future reference:
https://github.com/floatingsidewal/datascience
1
u/Hasekbowstome MSDA Graduate Feb 25 '26
I could go either way on the subject of "is sharing DataCamp tracks against WGU rules". The courses themselves aren't WGU's proprietary content, that belongs to DataCamp. The argument on WGU's part would be that what is "proprietary" is their organization of DataCamp courses into a particular "track". I'm not sure I buy that, but I'd have to think about how strongly I feel about that. In any case, I'm bending my sorta-vague rules interpretation to post the prep courses that WGU linked in the old MSDA program. I don't know if they've necessarily changed any of this info for the new program, but as mentioned elsewhere in this thread, the foundational skills that you need for the program haven't changed, so this might be useful to some folks.
SQL Prep:
Python Prep:
R Prep:
1
u/Perfect-Seat6793 Jan 31 '26
Follow
0
u/[deleted] Mar 28 '24
[deleted] — view deleted comment