lab01.pdf - lab01 1 Lab 1 Expressions Welcome to Data Science 8 Foundations of Data Science Each week you will complete two lab assignments like this

lab01.pdf - lab01 1 Lab 1 Expressions Welcome to Data...

This preview shows page 1 - 3 out of 17 pages.

lab01 September 16, 2018 1 Lab 1: Expressions Welcome to Data Science 8: Foundations of Data Science! Each week you will complete two lab assignments like this one. You can’t learn technical subjects without hands-on practice, so labs are an important part of the course. Before we get started, there are some administrative details. Labs are required. There are two ways to receive credit for each lab. 1. Come to your lab section and work on the lab as directed. Before you leave, you need to submit the lab and have a staff member check you off to confirm that you came to lab section and attempted to make progress while you were there. You do not need to finish the lab or answer every question correctly to receive full credit. However, you do need to try; that’s why we check you off. Expect to discuss your progress briefly with a staff member before they will check you off. The lab must be submitted at the end of your lab section, even if it is incomplete, to get credit for attending. 2. Lab assignments will be posted Sunday nights. If you complete the entire lab so that all tests pass and submit it by 8:59 AM on Wednesday , then you don’t need to physically attend the lab for which you completed the lab assignment. This policy is not encouraged by the course staff, and is only recommended if you are sure that you will not be able to make lab a certain week. For Lab 1, however, you will have the option to complete it on your own and submit it before Sunday, August 26th at midnight without having to attend lab physically. This ONLY applies to Lab 1. Every other lab will follow one of the two methods listed above. Collaborating on labs is more than okay -- it’s encouraged! You should rarely be stuck for more than a few minutes on questions in labs, so ask a neighbor or an instructor for help. (Explaining things is beneficial, too -- the best way to solidify your knowledge of a subject is to explain it.) Please don’t just share answers, though. You can read more about course policies on the course website . Today’s lab In today’s lab, you’ll learn how to: 1. navigate Jupyter notebooks (like this one); 2. write and evaluate some basic expressions in Python, the computer language of the course; 3. call functions to use code other people have written; and 4. break down Python code into smaller parts to understand it. This lab covers parts of Chapter 3 of the online textbook. You should read the book, but not right now. Instead, let’s get started! 1
Image of page 1
2 1. Jupyter notebooks This webpage is called a Jupyter notebook. A notebook is a place to write programs and view their results. 2.1 1.1. Text cells In a notebook, each rectangle containing text or code is called a cell . Text cells (like this one) can be edited by double-clicking on them. They’re written in a sim- ple format called Markdown to add formatting and section headings. You don’t need to learn Markdown, but you might want to.
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 17 pages?

  • Fall '17
  • Human height, Test Summary

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors