An open API service indexing awesome lists of open source software.

https://github.com/baggiponte/pymi-polars

đŸģâ€â„ī¸ @pola-rs tutorial @pythonmilano
https://github.com/baggiponte/pymi-polars

pandas polars python tutorial

Last synced: about 2 months ago
JSON representation

đŸģâ€â„ī¸ @pola-rs tutorial @pythonmilano

Awesome Lists containing this project

README

          

# đŸģâ€â„ī¸ Get started with `polars`

[![cookiecutter slidev](https://img.shields.io/badge/cookiecutter-slidev-D4AA00?logo=cookiecutter&logoColor=fff)](https://github.com/baggiponte/cookiecutter-slidev)

Source code for the tutorial on [`polars`](https://github.com/pola-rs/polars) at [Python Milano](https://github.com/PythonMilano).

- đŸ“Ŋī¸ [Live](https://www.youtube.com/live/ujodUwEj5L4?si=LM4nP5r433tb_4zy&t=210)

## đŸ›Šī¸ How to run

Make sure you have installed the following:

* `git` (of course)
* GitHub CLI: `gh` (optional)
* `node.js`
* `just` is a command runner (optional, recommended for contributing)

1. Clone the repo

```bash
# with github CLI
gh repo clone baggiponte/pymi-polars

# with git
git clone git@github.com:baggiponte/pymi-polars
```

> **Note**
>
> đŸŽŦ How to configure SSH
>
> Cloning over SSH is safer. Follow [this guide](https://www.youtube.com/watch?v=5o9ltH6YmtM).
> Alternatively, you can follow the steps in [this](https://github.com/git-merge-workshops/simplify-signing-with-ssh/blob/main/exercises/01-setup-workstation.md) workshop of GitHub's.

2. Install the dependencies

```bash
# with the command runner
just install

# with npm
npm install
```

3. Open the slideshow locally

```bash
# with the command runner
just preview

# with npx
npx slidev --open -- slides.md
```

4. Visit http://localhost:3030

## 🤗 contributing

Install the dependencies [above](,/README.md#%EF%B8%8F-how-to-run) (`just` is highly recommended) and the following:

* [`commitizen`](https://commitizen-tools.github.io/commitizen/) is a release management tool. It's used to release new versions.

1. Fork the repo
2. Create your own branch.
3. Before opening a PR, run the following:

```bash
just test-release
```

This will format the slides, try to build them and test whether a version bump is possibile.

> **Note**
>
> Credits:
>
> - [`slidev`](https://github.com/slidevjs/slidev) is an amazing framework to build slides from markdown and host them.
> - [`just`](https://github.com/casey/just) is just a command runner.
> - [`commitizen`](https://commitizen-tools.github.io/commitizen/) is a release management tool.
> - [`polars`](https://github.com/pola-rs/polars) is a fast multi-threaded, hybrid-out-of-core DataFrame library in Rust | Python | Node.js