No Task on this page, just something else to try if you want
So, if you want to give this a whirl, go for it. It is great to dip your toes in to programming languages like Python or R for any data analysis and visualization. Especially since much of it is free. If you feel stupid trying to do it, that is kind of how it feels. You just gotta stick to it and keep bashing your head against it, and eventually it starts to make sense. With programming, a lot of it is just googling error messages and rereading your code to see that you left out a bracket or comma or whatever where you shouldn’t have.
TheĀ following is a Google Colab notebook that I made and adapted from code from Dr. Matthew Burton at the University of Pittsburgh.
If you have a CSV file you are working with, you can do the following (all of this is OPTIONAL! Just something to try different from Excel):
- Make sure you have a Google account.
- Go to Blackboard>Course Documents and download to your computer “Colab_Notebook_DWTSC_ENG4950_Spring2021”
- Go to https://colab.research.google.com
- Click “Upload” in the far right corner”
- Upload Colab_Notebook_DWTSC_ENG4950_Spring2021
- Open it up.
- Read and follow the instructions in the first “cell,” which is the first gray box with text in it.
- Click the next “cell” and click the “play” button to “run” the cell. This imports all the necessary libraries need to make the code work in the below cells.
- Click the next “cell” and the “play” button. Upload the csv file you want to look at.
- In the next cell, put the name of that csv file in between the two single quote markings. Click the “play” button.
- That should get you started. Try running other cells by following instructions to get descriptive statistics and various visualizations. Some instructions will prompt you to write in text to specific places. If you have an error, you probably put something in the wrong place or accidentally deleted something. Happy to help if you are struggling and really want to make it work, so reach out if so!
Click the below button to continue the module: