Skip to content

Commit 8c57641

Browse files
Sync polars-vs-pandas with the maintenance update of Polars vs pandas: What's the Difference? (#931)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 6770e8f commit 8c57641

2 files changed

Lines changed: 86 additions & 89 deletions

File tree

‎polars-vs-pandas/requirements.txt‎

Lines changed: 85 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,104 @@
1-
altair==5.5.0
2-
anyio==4.10.0
1+
altair==6.3.0
2+
anyio==4.15.1
33
argon2-cffi==25.1.0
4-
argon2-cffi-bindings==25.1.0
5-
arrow==1.3.0
6-
asttokens==3.0.0
7-
async-lru==2.0.5
8-
attrs==25.3.0
9-
babel==2.17.0
10-
beautifulsoup4==4.13.5
11-
bleach==6.2.0
12-
certifi==2025.8.3
13-
cffi==2.0.0
14-
charset-normalizer==3.4.3
4+
argon2-cffi-bindings==26.1.0
5+
arrow==1.4.0
6+
asttokens==3.0.2
7+
async-lru==2.4.0
8+
attrs==26.1.0
9+
babel==2.18.0
10+
beautifulsoup4==4.15.0
11+
bleach==6.4.0
12+
certifi==2026.10.23
13+
cffi==2.1.1
14+
charset-normalizer==3.5.2
1515
comm==0.2.3
16-
contourpy==1.3.3
16+
contourpy==1.4.0
1717
cycler==0.12.1
18-
debugpy==1.8.17
19-
decorator==5.2.1
18+
debugpy==1.8.22
2019
defusedxml==0.7.1
21-
executing==2.2.1
22-
fastjsonschema==2.21.2
23-
fonttools==4.60.0
24-
fqdn==1.5.1
20+
executing==2.3.0
21+
fastjsonschema==2.22.2
22+
fonttools==4.68.0
23+
fqdn==1.6.0
2524
h11==0.16.0
2625
httpcore==1.0.9
2726
httpx==0.28.1
28-
idna==3.10
29-
ipykernel==6.30.1
30-
ipython==9.5.0
31-
ipython_pygments_lexers==1.1.1
27+
idna==3.20
28+
ipykernel==7.4.0
29+
ipython==9.18.0
30+
ipython-pygments-lexers==1.1.1
3231
isoduration==20.11.0
33-
jedi==0.19.2
34-
Jinja2==3.1.6
35-
json5==0.12.1
36-
jsonpointer==3.0.0
37-
jsonschema==4.25.1
32+
jedi==0.20.1
33+
jinja2==3.1.6
34+
json5==0.17.3
35+
jsonpointer==3.6
36+
jsonschema==4.26.0
3837
jsonschema-specifications==2025.9.1
39-
jupyter-events==0.12.0
40-
jupyter-lsp==2.3.0
41-
jupyter_client==8.6.3
42-
jupyter_core==5.8.1
43-
jupyter_server==2.17.0
44-
jupyter_server_terminals==0.5.3
45-
jupyterlab==4.4.7
46-
jupyterlab_pygments==0.3.0
47-
jupyterlab_server==2.27.3
48-
kiwisolver==1.4.9
49-
lark==1.2.2
50-
MarkupSafe==3.0.2
51-
matplotlib==3.10.6
52-
matplotlib-inline==0.1.7
53-
mistune==3.1.4
54-
narwhals==2.5.0
55-
nbclient==0.10.2
56-
nbconvert==7.16.6
57-
nbformat==5.10.4
58-
nest-asyncio==1.6.0
59-
notebook_shim==0.2.4
60-
numpy==2.3.3
61-
packaging==25.0
62-
pandas==2.3.2
38+
jupyter-builder==1.2.4
39+
jupyter-client==8.10.0
40+
jupyter-core==5.9.1
41+
jupyter-events==0.12.1
42+
jupyter-lsp==2.3.1
43+
jupyter-server==2.21.1
44+
jupyter-server-terminals==0.5.4
45+
jupyterlab==4.6.5
46+
jupyterlab-pygments==0.3.0
47+
jupyterlab-server==2.28.1
48+
kiwisolver==1.5.1
49+
lark==1.3.1
50+
markupsafe==3.0.4
51+
matplotlib==3.11.2
52+
matplotlib-inline==0.2.2
53+
mistune==3.4.0
54+
narwhals==2.28.0
55+
nbclient==0.11.0
56+
nbconvert==7.17.2
57+
nbformat==5.11.1
58+
nest-asyncio2==1.7.4
59+
notebook-shim==0.2.4
60+
numpy==2.5.4
61+
packaging==26.3
62+
pandas==3.1.0
6363
pandocfilters==1.5.1
64-
parso==0.8.5
64+
parso==0.8.7
6565
pexpect==4.9.0
66-
pillow==11.3.0
67-
platformdirs==4.4.0
68-
polars==1.33.1
69-
prometheus_client==0.23.1
70-
prompt_toolkit==3.0.52
71-
psutil==7.1.0
66+
pillow==13.0.0
67+
platformdirs==4.14.0
68+
polars==2.1.0
69+
polars-runtime-32==2.1.0
70+
prometheus-client==0.26.0
71+
prompt-toolkit==3.0.53
72+
psutil==7.2.2
7273
ptyprocess==0.7.0
73-
pure_eval==0.2.3
74-
pyarrow==21.0.0
75-
pycparser==2.23
76-
Pygments==2.19.2
77-
pyparsing==3.2.5
78-
python-dateutil==2.9.0.post0
79-
python-json-logger==3.3.0
80-
pytz==2025.2
81-
PyYAML==6.0.2
82-
pyzmq==27.1.0
83-
referencing==0.36.2
84-
requests==2.32.5
74+
pure-eval==0.2.4
75+
pyarrow==26.0.0
76+
pycparser==3.12
77+
pygments==2.21.0
78+
pyparsing==3.3.3
79+
python-dateutil==3.0.0
80+
python-json-logger==4.2.0
81+
pyyaml==6.0.3
82+
pyzmq==27.2.0
83+
referencing==0.37.0
84+
requests==2.34.2
8585
rfc3339-validator==0.1.4
8686
rfc3986-validator==0.1.1
8787
rfc3987-syntax==1.1.0
88-
rpds-py==0.27.1
89-
Send2Trash==1.8.3
90-
setuptools==80.9.0
88+
rpds-py==2026.9.1
89+
send2trash==2.1.0
9190
six==1.17.0
92-
sniffio==1.3.1
93-
soupsieve==2.8
91+
soupsieve==3.0.4
9492
stack-data==0.6.3
9593
terminado==0.18.1
96-
tinycss2==1.4.0
97-
tornado==6.5.2
98-
traitlets==5.14.3
99-
types-python-dateutil==2.9.0.20250822
100-
typing_extensions==4.15.0
101-
tzdata==2025.2
94+
tinycss2==1.5.1
95+
tornado==6.6
96+
traitlets==5.16.1
97+
typing-extensions==4.16.0
98+
tzdata==2026.6
10299
uri-template==1.3.0
103-
urllib3==2.5.0
104-
wcwidth==0.2.13
105-
webcolors==24.11.1
106-
webencodings==0.5.1
107-
websocket-client==1.8.0
100+
urllib3==2.8.0
101+
wcwidth==0.9.4
102+
webcolors==25.10.0
103+
webencodings==0.6.1
104+
websocket-client==1.9.2

‎polars-vs-pandas/streaming_test.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def create_polars_lazyframe(test_data):
1313
def analyze_polars_lazyframe(polars_lf):
1414
polars_lf.group_by(["region", "product", "sales_person"]).agg(
1515
total_sales=pl.col("sales_income").sum()
16-
).collect()
16+
).collect(engine="in-memory")
1717

1818

1919
def analyze_polars_streaming(polars_lf):

0 commit comments

Comments
 (0)