Skip to content

Latest commit

 

History

History
163 lines (114 loc) · 7.09 KB

resources.md

File metadata and controls

163 lines (114 loc) · 7.09 KB

Resources

General

{% if id == "columbia" -%}

Columbia

{% else -%}

NYU

{% endif -%}

Pandas

There are countless other blog posts, videos, books, etc. out there. There is no "best" resource, as individuals prefer different formats, come in with different experience, and learn at different speeds. Anything that comes up near the top of a Google search will likely be fine.

Learning more

Want to keep going with Python after this class? See the sections below for specifics, and Developer Roadmaps for directions you can go at a high level.

Python fundamentals

Recommended focusing on fundamentals of Python 3. Many "learn Python" resources will be web development-oriented — they will probably mention Django/Flask. If you want to stay focused on data, you might want to look for ones that focus on data science or Python 3 generally, such as:

Countless other "learn Python" resources/courses/videos/books out there; there isn't one right choice for everyone.

Machine learning

{% if id == "columbia" -%}

Columbia

{% else -%}

NYU

{% endif -%}

Jupyter outside this course

We use a cloud-based Jupyter environment ({{coding_env_name}}) for this course to avoid installation issues across student computers. This is the only environment that's supported for course work.

{% if id == "nyu" -%} After this class, however, you'll no longer have access. To download the files:

  1. Open a notebook
  2. In a code cell, run !tar -czvf ~/python_files.tar.gz ~
  3. From the file browser, check the box next to python_files.tar.gz, then click Download
  4. On your computer, unzip the file.
    • On Windows, you may need to install 7-Zip to do so. {%- endif %}

A non-exhaustive list of alternatives:

Local

Cloud-based

Matching the class environment

Advanced

Note these instructions won't work in Colab.

  1. Install Mamba.

  2. Clone the repository.

  3. Check out the {{school_slug}} branch.

  4. Set strict channel priority.

    conda config --set channel_priority strict
  5. Create the environment. From this directory, run:

    mamba env create --file extras/environment.lock.yml
  6. Activate the environment:

    conda activate python-public-policy
  7. Start the Jupyter server:

    make notebook

See also