Hands-on Activity: Introduction to Kaggle (Google Data Analyst Certificate on Coursera)

 

Question 1

Activity overview

By now, you’ve learned a lot about different data types and data structures. In this activity, you will work with datasets from Kaggle, an online community of people passionate about data. To start this activity, you’ll create a Kaggle account, set up a profile, and explore Kaggle notebooks.

Every data analyst has a data community that they rely on for help, support, and inspiration. Kaggle can help you build your own data community. 

Kaggle has millions of users in all stages of their data career, from beginners to data scientists with decades of experience. The Kaggle community brings people together to develop their data analysis skills, share datasets and interactive notebooks, and collaborate on solving real-life data problems. 

Check out this brief introductory video to learn more about Kaggle. 

By the time you complete this activity, you will be able to use many of Kaggle’s key features. This will enable you to create notebooks and browse data, which is important for completing and sharing data projects in your career as a data analyst.

Create a Kaggle account 

To get started, follow these steps to create a Kaggle account.

  • Note: Kaggle frequently updates its user interface. The latest changes may not be reflected in the screenshots, but the principles in this activity remain the same. Adapting to changes in software updates is an essential skill for data analysts, and we encourage you to practice troubleshooting. You can also reach out to your community of learners on the discussion forum for help.

1. Go to kaggle.com

2. Click on the Register button at the top-right of the Kaggle homepage. You can register with your Google credentials or your personal email address. 

screenshot of kaggle homepage. The register button is highlighted

3. Once you’re registered and logged in to Kaggle, click on the Account icon at the top-right of your screen. In the menu that opens, click the Your Profile button.

4. On your profile page, click on the Edit Profile button. Enter any information you’d like to share with the Kaggle community. Your profile will be public, so only enter the information you’re comfortable sharing. 

5. If you want some inspiration, check out the profile of Kaggle’s Community Advocate, Jesse Mostipak!

Explore Kaggle notebooks 

Now that you’ve created an account and set up your profile, you can check out some notebooks on Kaggle. Kagglers use notebooks to share datasets and data analyses.

Step 1: Go to the Code home page

First, go to the Navigation bar on the left side of your screen. Then, click on the Code icon. This takes you to the Code home page. 

Step 2: Review Kaggler contributions  

On the Code home page, you’ll notice links to notebooks created by other Kagglers. 

To begin, feel free to scroll through the list and click on notebooks that interest you. As you explore, you may come across unfamiliar terms and new information: That’s fine! Kagglers come from diverse backgrounds and focus on different areas of data analysis, data science, machine learning, and deep learning. 

Step 3: Narrow your search

Once you’re familiar with the Code home page, you can narrow your search results by typing a word in the search bar or by using the filter feature. 

For example, type Beginner in the search bar to show notebooks tagged as beginner-friendly. Or, click on the Filter icon, the triangle shape on the right side of the search bar. You can filter results by tags, programming language, output, and other options. Filter to Datasets to show notebooks that use one of the tens of thousands of public datasets available on Kaggle. 

Step 4: Review suggested notebooks

If you’re looking for specific suggestions, check out the following notebooks:

Spend some time checking out a couple of notebooks to get an idea of the work that Kagglers share online—and that you’ll be able to create by the time you’ve finished this course!

Edit a notebook

Now, take a look at a specific notebook: Dive into dplyr (tutorial #1) by Jesse Mostipak. Follow these steps to learn how to edit notebooks:

1. Click on the link to open up the notebook. It contains the dataset you’ll work with later on.

2. Click on the Copy and Edit button at the top-right to make a copy of the notebook in your account. Now, the notebook appears in Edit mode. Edit mode lets you make changes to the notebook if you want.

Screenshot of a notebook viewer page. Introductory text has been copied and pasted

This notebook is private. If you want to share your work, you can choose to make it public. When you copy and edit another Kaggler’s work, always make meaningful changes to the notebook before publishing it. That way, you’re not misrepresenting someone else’s work as your own.

3. Take a moment to explore the Edit mode of the notebook. 

Some of this may seem unfamiliar—and that’s just fine. By the end of this course, you’ll know how to create a notebook like this from scratch!

Working with datasets in notebooks 

Now, you can check out the data! 

In this notebook, you’ll find the data in a box labeled Data at the top-right of your screen. In the box, there’s an input folder with the title: palmer-archipelago-antarctica-penguin-data. Follow these instructions to explore the datasets and learn more about the data within them:

1. Click on this title. Two .csv files appear: penguins_lter.csv and penguins_size.csv. Click on one of them. At the bottom of the notebook, you’ll now find an interactive data table with all the information from the dataset.

Screenshot of dataset within the notebook. At the bottom appears an interactive data table

2. Click on the other .csv file. This opens a second tab with the second dataset. 

3. Take a moment to check out each dataset. 

4. Sort the data in each column by clicking on the horizontal bars to the right of each column name.

5. Click on the button that says 10 of 17 columns to change the columns that are visible in the table. 

In the dropdown menu, there’s a checkmark next to the name of each column that appears in the table. Checking or unchecking one of these boxes will change what data is presented.

Congratulations! You’ve explored several ways to interact with the dataset. This will help you get familiar with the Kaggle interface. You can save the notebook you worked in for future reference. Coming up, you’ll learn more about other ways you can use Kaggle.

Comments

Popular posts from this blog

Transforming data