Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- id: trailing-whitespace
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.4
rev: v0.16.5
hooks:
- id: ruff
- id: ruff-format
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pip install pyprql[polars]
import pandas as pd
import pyprql.pandas_accessor

df = (...)
df = ...
results_df = df.prql.query("select {age, name, occupation} | filter age > 21")
```

Expand All @@ -49,7 +49,7 @@ results_df = df.prql.query("select {age, name, occupation} | filter age > 21")
import polars as pl
import pyprql.polars_namespace

df = (...)
df = ...
results_df = df.prql.query("select {age, name, occupation} | filter age > 21")
```

Expand All @@ -75,6 +75,7 @@ This library exposes `prqlc.compile`, so we can simply generate SQL:

```python
import pyprql

pyprql.compile("from artists | select track")
print(pyprql.compile("from artists | select track"))
```
Expand Down