Community Data Science Workshops (Core)/Day 0 Setup and tutorial: Difference between revisions

From CommunityData
No edit summary
Line 31: Line 31:


We're going to use Jupyter notebooks to write and run Python throughout the workshop.  In this section, we'll try out your Python setup by running code in an existing notebook.
We're going to use Jupyter notebooks to write and run Python throughout the workshop.  In this section, we'll try out your Python setup by running code in an existing notebook.
 
<div style="font-size:125%">[[Python in Jupyter |  &raquo; Click here to get started with Python in Jupyter &laquo;]]</div>
* [[Python in Jupyter]]


== Goal #3: Download the Saturday projects ==
== Goal #3: Download the Saturday projects ==

Revision as of 00:08, 18 January 2020

Welcome to the first Friday evening setup session for the Community Data Science Workshop Winter 2020!

When you get to UW and get setup, please do the following things:

  • Start your laptop and get on the wireless network.
  • Work through the goals on this page in order. It should take between 2 and 3 hours. Lots of mentors 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 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.

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 are not from UW, you will have to use a temporary shared NetID which we have created for the conference and which we will have written on the whiteboards/blackboard in each rooms. We'll write the username and password up on whiteboard in each of the rooms we are using. Also, make sure you agree with the UW's policy on the ethical use of computers and networks.

Goal #1: Set up Python

(Estimated time: 5 minutes)

First things first: We need to install the Python programming language. Please complete the instructions below for your operating system:

Note: If you are running GNU/Linux or another operating system, please contact a mentor for help!

Goal #2: Practice running Python code from an existing Jupyter notebook

(Estimated time: 5 minutes)

We're going to use Jupyter notebooks to write and run Python throughout the workshop. In this section, we'll try out your Python setup by running code in an existing notebook.

Goal #3: Download the Saturday projects

(Estimated time: 10 minutes)

In advance of tomorrow's lecture and afternoon projects, please download the necessary files.

» Click here and follow the instructions to download the Baby Names project. «

Goal #4: Start learning Python!

(Estimated time: 60 - 90 minutes)

It's time to start learning, reading, and writing some Python! Tonight, you'll work through a self-directed tutorial. Saturday morning, we'll have an interactive lecture to cover more Python basics.


Goal #5: Practice Python using LearnPython

(Estimated time: 30 - 60 minutes)

It's time to use what we've learned in the tutorial and get some practice thinking about and solving problems in Python.

To give you this practice, please work through the first two exercises in the following Internet tutorial series called LearnPython (there are many lessons, so don't just keep hit "Next" or you're never finish!):


Goal #6: Checkoff

Wave down a mentor when you're ready to check out for the evening. Together you will go through the following check-off steps:

  • Start Jupyter and make sure the home page loads.
  • Navigate to the desktop (in Jupyter!) and create a new jupyter notebook.
  • In that notebook, type: print("Hello World") 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.
  • Tell your mentor if there any topics you'd like to learn more about or projects you have in mind. We're going to compare notes after this setup session and would find this information helpful.

If you have any other questions about the tutorial, project setup, or learnpython, now is a great time to ask!

Congratulations!

You are done with the Friday portion of this Workshop. We'll see you at 9:45am tomorrow.

DO NOT BE LATE: you don't want to miss the beginning of the interactive lecture!

If you have any questions, comments, or feedback on tonight's material, don't hesitate to let a mentor know.

Champagne.pngParty.png