Editing Community Data Science Course (Spring 2023)/Week 1 Exercise
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
* Start your laptop and get on the wireless network. | * Start your laptop and get on the wireless network. | ||
* Work through the goals on this page in order. It should take between 1 and 3 hours. The teaching team will be around to help troubleshoot and to answer questions — don't hesitate to ask! | * Work through the goals on this page in order. It should take between 1 and 3 hours. The teaching team will be around to help troubleshoot and to answer questions — don't hesitate to ask! | ||
* When you've finished all of the setup goals, raise your hand and a | * When you've finished all of the setup goals, raise your hand and a mentor will come over and go through a checklist with you to make sure you're all set for tomorrow. | ||
'''Please be sure to do the checkoff before you leave''' — it'll make sure that you are in good shape for tomorrow. | '''Please be sure to do the checkoff before you leave''' — it'll make sure that you are in good shape for tomorrow. | ||
== Goal #0: Connect to the | == Goal #0: Connect to the UW Wireless == | ||
If you already have a UW NetID of your own, you should be all set with the network. | If you already have a UW NetID of your own, you should be all set with the network. | ||
Line 36: | Line 36: | ||
<div style="font-size:125%">[[Python in Jupyter | » Click here to get started with Python in Jupyter «]]</div> | <div style="font-size:125%">[[Python in Jupyter | » Click here to get started with Python in Jupyter «]]</div> | ||
== Goal #3: Start learning Python! == | == Goal #3: Download projects == | ||
(Estimated time: 10 minutes) | |||
In advance of next the new few weeks' lecture and afternoon projects, please download the necessary files. | |||
<font size="+1">[[Wordplay|» Click here and follow the instructions to download the WordPlay project. «]]</font> | |||
== Goal #4: Start learning Python! == | |||
(Estimated time: 60 - 90 minutes) | (Estimated time: 60 - 90 minutes) | ||
Line 45: | Line 53: | ||
<br /> | <br /> | ||
== Goal # | == Goal #5: Practice Python using LearnPython == | ||
(Estimated time: 30 - 60 minutes) | (Estimated time: 30 - 60 minutes) | ||
Line 62: | Line 70: | ||
You may find the LearnPython interface is different from your Jupyter Notebook. No worries, it's still Python, even though it looks a bit different. You could do these lessons in Jupyter Notebook by copying & pasting the code in the left-hand boxes from LearnPython into Jupyter Notebook cells and run them from Jupyter. | You may find the LearnPython interface is different from your Jupyter Notebook. No worries, it's still Python, even though it looks a bit different. You could do these lessons in Jupyter Notebook by copying & pasting the code in the left-hand boxes from LearnPython into Jupyter Notebook cells and run them from Jupyter. | ||
== Goal #6: Checkoff == | |||
== Goal #6 | |||
Wave down a member of the instructional team when you're ready to check out for the evening. Together you will go through the following check-off steps: | Wave down a member of the instructional team when you're ready to check out for the evening. Together you will go through the following check-off steps: | ||
* Show off your dedicated folder of CDSW files. | * Show off your dedicated folder of CDSW files. | ||
* Show yourself logged in to GitHub | * Show yourself logged in to GitHub. | ||
* Start Jupyter and make sure the home page loads. | * Start Jupyter and make sure the home page loads. | ||
* Navigate to the desktop (in Jupyter!) and create a new Jupyter notebook. | * Navigate to the desktop (in Jupyter!) and create a new Jupyter notebook. | ||
* In that notebook, type: <code>print("Hello World")</code> and then Shift-Enter to run the command. | * In that notebook, type: <code>print("Hello World")</code> and then Shift-Enter to run the command. | ||
* To test the baby names project installation: navigate to the babynames directory, load the notebook called "BabyNames.ipynb" and run the first cell. If you get no output, then you have done it correctly! | |||
* Walk through the LearnPython exercise that you had the most difficulty with. | * Walk through the LearnPython exercise that you had the most difficulty with. | ||
* Exit out of Jupyter (by ending the processes via Control + C in Terminal or PowerShell, then hit 'y' and 'enter', within 5 seconds) | * Exit out of Jupyter (by ending the processes via Control + C in Terminal or PowerShell, then hit 'y' and 'enter', within 5 seconds) | ||
Line 91: | Line 88: | ||
==Congratulations!== | ==Congratulations!== | ||
You are done with the | You are done with the excercise part of this class. If you've got time and want to start on the coding challenges, lets do that! | ||
[[File:Champagne.png|100px]][[File:Party.png|125px]] | [[File:Champagne.png|100px]][[File:Party.png|125px]] |