Skip to content

Commit

Permalink
full rebuild with analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeubank committed Nov 26, 2024
1 parent a647e43 commit 78fdda0
Show file tree
Hide file tree
Showing 16 changed files with 148 additions and 150 deletions.
Binary file modified _build/.doctrees/environment.pickle
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "a7c1bf53",
"id": "f6e0f1b0",
"metadata": {},
"source": [
"# Return Values and Object Mutations\n",
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "a54eb51b",
"id": "445a8b7d",
"metadata": {},
"outputs": [
{
Expand All @@ -35,7 +35,7 @@
},
{
"cell_type": "markdown",
"id": "8598964e",
"id": "349f1b7c",
"metadata": {},
"source": [
"We know that the variable `x` will end up pointing at the new list (`[1, 2, 3, 4]`). That's because a function or method that creates a new object \"returns\" that object. \n",
Expand All @@ -51,7 +51,7 @@
{
"cell_type": "code",
"execution_count": 2,
"id": "f05af9b3",
"id": "3cd63e56",
"metadata": {},
"outputs": [
{
Expand All @@ -73,7 +73,7 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "ce947c7a",
"id": "30190a3d",
"metadata": {},
"outputs": [
{
Expand All @@ -93,7 +93,7 @@
},
{
"cell_type": "markdown",
"id": "2daac26b",
"id": "18e5dbb6",
"metadata": {},
"source": [
"But this can lead to an easy problem: if we mutate our list using function or method that mutates the list in-place, *and* re-assign the result of that method call to our original variable, we'll actually lose track of our original list!"
Expand All @@ -102,7 +102,7 @@
{
"cell_type": "code",
"execution_count": 4,
"id": "454c8188",
"id": "60afb784",
"metadata": {},
"outputs": [
{
Expand All @@ -124,7 +124,7 @@
},
{
"cell_type": "markdown",
"id": "30fe66c6",
"id": "37b6bdc7",
"metadata": {},
"source": [
"# Tuples\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "d0dd8f38",
"id": "f49dd5ab",
"metadata": {},
"source": [
"# Practicing with the VS Code Debugger\n",
Expand All @@ -28,7 +28,7 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "e7da563a",
"id": "b50fb2ef",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -37,7 +37,7 @@
},
{
"cell_type": "markdown",
"id": "18ca95d0",
"id": "a6510a4f",
"metadata": {},
"source": [
"I can shorten it to my name by subsetting:"
Expand All @@ -46,7 +46,7 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "dbef5135",
"id": "b9792d4d",
"metadata": {},
"outputs": [
{
Expand All @@ -66,7 +66,7 @@
},
{
"cell_type": "markdown",
"id": "9b24827f",
"id": "bdcebce7",
"metadata": {},
"source": [
"## Exercise 2:\n",
Expand All @@ -76,7 +76,7 @@
},
{
"cell_type": "markdown",
"id": "467e5df9",
"id": "9a08b29b",
"metadata": {},
"source": [
"## Exercise 3: \n",
Expand All @@ -86,7 +86,7 @@
},
{
"cell_type": "markdown",
"id": "421ba2e8",
"id": "cd5db065",
"metadata": {},
"source": [
"## Exercise 4:\n",
Expand All @@ -96,7 +96,7 @@
},
{
"cell_type": "markdown",
"id": "eafd2ae9",
"id": "aa201ceb",
"metadata": {},
"source": [
"## Exercise 5:\n",
Expand All @@ -106,7 +106,7 @@
},
{
"cell_type": "markdown",
"id": "bc992e15",
"id": "9483a3d0",
"metadata": {},
"source": [
"## Exercise 6: \n",
Expand All @@ -116,7 +116,7 @@
},
{
"cell_type": "markdown",
"id": "c9cb329e",
"id": "6c2bddd2",
"metadata": {},
"source": [
"## Exercise 7:\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "cc3d5fa5",
"id": "d214260d",
"metadata": {},
"source": [
"# Build Your Own Chart\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "markdown",
"id": "22d7a850",
"id": "7724d8d8",
"metadata": {},
"source": [
"# Code-Drawing Template"
]
},
{
"cell_type": "markdown",
"id": "403027a0",
"id": "ebfba7df",
"metadata": {},
"source": [
"![code frame](images/code_frame.png)\n",
Expand All @@ -30,7 +30,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "41a04f18",
"id": "6398b3ea",
"metadata": {},
"outputs": [],
"source": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "de7210d2",
"id": "2a433e1e",
"metadata": {},
"source": [
"# Set Up an Augmented Command Line\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "markdown",
"id": "e1d1ee02",
"id": "07d9ebc0",
"metadata": {},
"source": [
"# Installing Geopandas"
]
},
{
"cell_type": "markdown",
"id": "5aa9f94c",
"id": "438a85e0",
"metadata": {},
"source": [
"Early in the semester, I told you that conda was generally preferred over pip by data scientists because it could install more than just python packages? Well here's an example of a place that pays off big!\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"cells": [
{
"cell_type": "markdown",
"id": "24b204af",
"id": "450b92a7",
"metadata": {},
"source": [
"# Setting Up Visual Studio Code"
]
},
{
"cell_type": "markdown",
"id": "3493252b",
"id": "a5c0bb5a",
"metadata": {},
"source": [
"> This is written assuming you've already installed and setup Python using miniforge [as instructed here](setup_python.ipynb). If you haven't, please go do that now!"
]
},
{
"cell_type": "markdown",
"id": "f8e6d5f4",
"id": "3f45b2fa",
"metadata": {},
"source": [
"As noted in our previous reading, here in Duke MIDS we're converging on using VS Code in our courses as our \"preferred\" tool for editing and running code. That's not because we necessarily because we think it's \"the objectively best editor\"—what editor is best for an individual depends a lot on their own background, programming style, and work flow!— but rather because we think it's a good fit for most students. Moreover, by all supporting the same editor, we can help you get *really good* with VS Code—not everyone will agree VS Code is the best editor, but I think all data scientists will agree that getting really good with *an* editor is an important skill!\n",
Expand Down Expand Up @@ -163,7 +163,7 @@
},
{
"cell_type": "markdown",
"id": "ee5ef74e",
"id": "ea1f8493",
"metadata": {},
"source": [
"## Set terminal.integrated.inheritEnv to False in VS Code\n",
Expand All @@ -188,7 +188,7 @@
},
{
"cell_type": "markdown",
"id": "33371f19",
"id": "f8fef2f5",
"metadata": {},
"source": [
"## Run Some Python Code!\n",
Expand Down
Loading

0 comments on commit 78fdda0

Please sign in to comment.