Skip to content

Latest commit

 

History

History
91 lines (46 loc) · 5.94 KB

part1.md

File metadata and controls

91 lines (46 loc) · 5.94 KB

Introduction to Pandas

Get a free IBM Cloud account

To follow along with the workshop start by signing up for a free Cloud account. After filling in the form, you will receive a verification code by email, so please use a real address.

Once your account is verified and set up, you will see this welcome screen. Click on the 🍔 in the top left corner to expand the contents list. At the top you can find more information about your account, documentation and available resources and services.

Click on the blue button to start adding the resources needed in the workshop.

Create Resources

Watson Studio

You should now see this screen where you can find all available resources:

Search for Watson Studio and click on the tile. Choose a region and click Create. You can leave all other options as the default: Free Lite plan and the default name that you will see when scrolling down.

Watson Studio is now ready, but you will need a few other resources as well. Click on Resource list to go back:

From the Resource list click on Create resource in the top right to add the next one:

Object Storage

Select Services and Storage from the menu on the left and search for Object Storage. Click on the tile:

As before use the defaults to create this service in the next screen and then go back to the Resource list by clicking first on the 🍔 in the top left corner to expand the contents list:

Next

In the Resources list click on Watson Studio and then on Get Started in the next screen:

This will open a new Tab in your browser where you should now see the below screen:

Jupyter notebooks in Watson Studio

Let's start by setting up a project where you can store data, notebooks and many other assets.

Within the project we will use Jupyter notebooks that allow you to create and share documents containing live code, equations, visualisations and explanatory text. We will be using a number of notebooks in Watson Studio throughout this workshop. These notebooks are contained in a project that you will import into your Watson Studio instance.

Create a project

Click on Start working to create a project that will contain all the assets for this workshop:

In the next screen click on Create an empty project. Then give your new project a name and click on Create in the bottom right:

Your previously created Object Storage should be added automatically as above. But it is possible you have to select it from a drop-down menu first.

Welcome to your new project! Here you can store notebooks, data and much more. You can also add collaborators, schedule jobs and customise runtime environments.

Click on Add to project at the top right and you will see the below menu with a list of all assets you can add. Click on Notebook to add one.

This will bring you here, where you can create a new notebook, add one from a local file or from a URL:

To load the notebook for this workshop, select From URL, give the notebook a name, paste the below link to the notebook in the Notebook URL field and then click the Create button at the bottom right. You can leave the runtime as the default.

https://github.com/IBMDeveloperUK/Python-Geopandas-Workshop/blob/master/notebooks/part-1-pandas.ipynb

Running a notebook

Now a kernel is being spun up and the notebook loaded:

Run each cell in order by selecting it, and then clicking the ▶︎ Run button at the top or use Shift-Enter.