Skip to content

Repository files navigation

Python for Data Scientists

This is a short course for data scientists that spend a lot of time working with pandas but may want to practice their pure Python skills.

The course is presented in the style of LeetCode. You have a series of problems to solve. Every problem has an instructions markdown file (index.md), a file with tests (test_all.py), a starter python file (template.py), and a python file with our solution (solution.py). For example:

In each problem, you need to create problem.py and write your solution to the problem in that file. You can copy / paste the starter code from template.py.

Getting Started

  1. Install uv.
  2. Install VS Code.
  3. Clone this repository.
  4. Open py4ds.code-workspace.
  5. Install the recommended extensions. VS Code should prompt you.
  6. Open a terminal and install the project dependencies:
    $ uv sync

Solve the First Problem

In VS Code, right click README.md in the Explorer pane, and then click on Open Preview. This will open these instructions in preview mode so that you can follow the links in these markdown files.

Now, follow the link to Problem p9893!

Table of Contents

About

Programming in Python for Data Scientists

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages