Welcome to your shiny new codespace! We've got everything fired up and running for you to explore Python and Jupyter notebooks.
You've got a blank canvas to work on from a git perspective as well. There's a single initial commit with what you're seeing right now - where you go from here is up to you!
Everything you do here is contained within this one codespace. There is no repository on GitHub yet. If and when you’re ready you can click "Publish Branch" and we’ll create your repository and push up your project. If you were just exploring then and have no further need for this code then you can simply delete your codespace and it's gone forever.

The following steps will explore the data in Microsoft's mslearn-introduction-to-machine-learning Titanic dataset with GitHub Copilot by your side!
-
Create a new ipython notebook
titanic.ipynb
-
Add a markdown cell and type the following (let Copilot complete the lines)
# Exploring Titanic Dataset The titanic is
-
Add a code cell and copy+paste the following into it, letting Copilot complete the rest:
# Import the dataset at this URL as a Pandas dataframe url = 'https://raw.githubusercontent.com/MicrosoftDocs/mslearn-introduction-to-machine-learning/main/Data/titanic.csv'
-
Print the head of the dataframe.
-
Add a code cell and copy+paste the following into it, letting Copilot complete the rest:
# calculate the number of survivors and print it
-
Add a code cell and copy+paste the following into it, letting Copilot complete the rest:
# calculate the number of nonsurvivors and print it
-
Ask Copilot—either inline using
q:
anda:
or via Copilot Chat—what thesibsp
andparch
columns mean. -
Ask for a
catplot
showing correlation between passenger class and survivability. -
Ask for a model to predict survivability by age.
-
Ask Copilot to help improve the survivability model.
-
Ask Copilot to help you understand the survivability model.
-
Ask Copilot to help you understand the data in the dataset.