Skip to content

Commit 0f4abea

Browse files
committed
fix indentation in Assignments page
1 parent 59c3e80 commit 0f4abea

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

assignments.md

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ That is now your own copy; make edits in there directly.
5252
- Allows/encourages you to output intermediate results, ensuring that everything is working as expected.
5353
- You are always welcome to **add cells**. You probably don't want more than a few lines of code in each. This makes the spot checking of intermediate results easier.
5454
- Make notebooks [idempotent](https://en.wikipedia.org/wiki/Idempotence)
55-
- Makes your work reproducible.
56-
- Use `Restart and run all` (⏩ button in toolbar).
55+
- Makes your work reproducible.
56+
- Use `Restart and run all` (⏩ button in toolbar).
5757

5858
## Submission
5959

@@ -70,13 +70,13 @@ Engaging with comments left in {{coding_env_name}} is more than welcome.
7070
{% else -%}
7171
1. Export the files.
7272
- `.ipynb`:
73-
1. `File`
74-
1. `Download`
73+
1. `File`
74+
1. `Download`
7575
- `.py`:
76-
1. `File`
77-
1. `Save and Export Notebook As`
78-
1. `Executable Script`
79-
- You may need to [allow popups](https://support.google.com/chrome/answer/95472).
76+
1. `File`
77+
1. `Save and Export Notebook As`
78+
1. `Executable Script`
79+
- You may need to [allow popups](https://support.google.com/chrome/answer/95472).
8080
1. Submit.
8181
1. In [{{lms_name}}]({{lms_url}}), go to `Content`.
8282
- Note that this is _not_ the `Assignments` tab of {{lms_name}}.
@@ -101,18 +101,18 @@ Engaging with comments left in {{coding_env_name}} is more than welcome.
101101
{% if id == "columbia" -%}
102102
- **Mounting Google Drive is slow or fails:** See [the Google Colab help page](https://research.google.com/colaboratory/faq.html#drive-timeout).
103103
- **Can't load a file from Drive with `requests.get()`:** Use [`open()`](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files).
104-
- [How to read a JSON file](https://www.freecodecamp.org/news/python-parse-json-how-to-read-a-json-file/#how-to-parse-and-read-a-json-file-in-python)
104+
- [How to read a JSON file](https://www.freecodecamp.org/news/python-parse-json-how-to-read-a-json-file/#how-to-parse-and-read-a-json-file-in-python)
105105
{% else -%}
106106
- **`Error: Command '['git', 'diff', '..origin/nyu', '--name-status']' returned non-zero exit status 128` when trying to launch {{coding_env_name}}:** Something got corrupted in your copy of the files that come through [`nbgitpuller`](https://nbgitpuller.readthedocs.io/). Easiest thing is to move the existing ones and restart with a fresh copy.
107-
1. [Launch {{coding_env_name}}.]({{coding_env_origin}})
108-
1. There should be a `python-public-policy` folder. Rename it, something like `python-public-policy-old`.
109-
- If you've edited any of the template notebooks, you can find them in that `-old` folder.
110-
1. Repeat the [getting started](#getting-started) steps.
107+
1. [Launch {{coding_env_name}}.]({{coding_env_origin}})
108+
1. There should be a `python-public-policy` folder. Rename it, something like `python-public-policy-old`.
109+
- If you've edited any of the template notebooks, you can find them in that `-old` folder.
110+
1. Repeat the [getting started](#getting-started) steps.
111111
{% endif -%}
112112
- **When using `choropleth_map()`, nothing appears on the map:** Make sure:
113-
- Your `locations` corresponds to the DataFrame column name and `featureidkey` is set to `properties.<property name>` matching the GeoJSON
114-
- See [how we found the property name to use](lecture_3.ipynb#geospatial-data)
115-
- The column and the GeoJSON properties have values that match
113+
- Your `locations` corresponds to the DataFrame column name and `featureidkey` is set to `properties.<property name>` matching the GeoJSON
114+
- See [how we found the property name to use](lecture_3.ipynb#geospatial-data)
115+
- The column and the GeoJSON properties have values that match
116116
- **`SettingWithCopyWarning`:** [How to fix](https://www.dataquest.io/blog/settingwithcopywarning/)
117117
- **`input()` stuck:** Jupyter can be a bit buggy when dealing with interactive input. If it seems to get stuck or you aren't seeing a prompt when you'd expect one, try clicking the `{{coding_env_kernel_name.title()}}` menu then `Restart Kernel`.
118118
- **The values are out of order along the axis of a Plotly chart:** Make sure that:
@@ -159,13 +159,15 @@ The {{coding_env_kernel_name}} is [the place where Python is installed and the c
159159

160160
{% if id == "nyu" -%}
161161
- Make sure `Python [conda env:python-public-policy]` is selected as the {{coding_env_kernel_name}}.
162-
- Shows in the top right of the notebook interface
163-
- To change:
164-
1. Open the `{{coding_env_kernel_name.title()}}` menu
165-
1. Click `Change {{coding_env_kernel_name}}`
166-
1. Click `Python [conda env:python-public-policy]`
162+
- Shows in the top right of the notebook interface
163+
- To change:
164+
1. Open the `{{coding_env_kernel_name.title()}}` menu.
165+
1. Click `Change {{coding_env_kernel_name}}`.
166+
1. Click `Python [conda env:python-public-policy]`.
167167
{%- endif %}
168168
- If your {{coding_env_kernel_name}} is repeatedly crashing, you're probably running out of memory.
169-
- Make sure you aren't loading data sets you don't need.
170-
- If loading a new dataset, [make it smaller](assignments/open_ended.md#reducing-data-size)
171-
{% if id == "nyu" %}- Close {{coding_env_kernel_name}}s you aren't using from the [Running]({{coding_env_origin}}/user-redirect/tree#running) page.{% endif %}
169+
- Make sure you aren't loading data sets you don't need.
170+
- If loading a new dataset, [make it smaller](assignments/open_ended.md#reducing-data-size)
171+
{% if id == "nyu" %}
172+
- Close {{coding_env_kernel_name}}s you aren't using from the [Running]({{coding_env_origin}}/user-redirect/tree#running) page.
173+
{%- endif %}

0 commit comments

Comments
 (0)