https://github.com/baggiponte/pyconpt-polars
@pola-rs talk @pyconpt
https://github.com/baggiponte/pyconpt-polars
apache-arrow data-analysis data-science etl polars python
Last synced: about 2 months ago
JSON representation
@pola-rs talk @pyconpt
- Host: GitHub
- URL: https://github.com/baggiponte/pyconpt-polars
- Owner: baggiponte
- Created: 2023-09-17T13:07:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T13:38:52.000Z (over 2 years ago)
- Last Synced: 2024-02-23T14:41:29.871Z (over 2 years ago)
- Topics: apache-arrow, data-analysis, data-science, etl, polars, python
- Language: Just
- Homepage: https://baggiponte.github.io/pyconpt-polars/
- Size: 874 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# I know Polars is fast, but my data pipelines are written in pandas!
[](https://github.com/baggiponte/cookiecutter-slidev)
Source code for the talk [*I know Polars is fast, but my data pipelines are written in pandas!*](https://pretalx.evolutio.pt/pycon-pt-2023/talk/HB9X8G/) at [PyCon Portugal 2023](https://2023.pycon.pt/home/).
- đŊī¸ [Live](https://www.youtube.com/watch?v=OlvEtR6365A)
## đŠī¸ 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/pyconpt-polars
# with git
git clone git@github.com:baggiponte/pyconpt-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