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
- Host: GitHub
- URL: https://github.com/baggiponte/pymi-polars
- Owner: baggiponte
- Created: 2023-01-16T20:30:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T22:06:42.000Z (over 2 years ago)
- Last Synced: 2024-01-21T23:21:14.890Z (over 2 years ago)
- Topics: pandas, polars, python, tutorial
- Language: Just
- Homepage: https://baggiponte.github.io/pymi-polars/
- Size: 841 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# đģââī¸ Get started with `polars`
[](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