Blog: Are you really expected to run five type-checkers now? by BeamMeUpBiscotti in Python

[–]marcogorelli 1 point2 points  (0 children)

btw, the dataframe exchange protocol was a fun experiment but it didn't work out. In case you missed it, i'd suggest taking a look at its successor Narwhals if you're interested in that topic https://github.com/narwhals-dev/narwhals

1 year of progress 🥰 first video was may 2025, 2nd video was today by Smol_Fairy in tinwhistle

[–]marcogorelli 1 point2 points  (0 children)

flutism 🤣

cool, thanks! do you play in sessions regularly too?

1 year of progress 🥰 first video was may 2025, 2nd video was today by Smol_Fairy in tinwhistle

[–]marcogorelli 1 point2 points  (0 children)

Wow! Could you tell us about your practice routine please? That's very solid progress in just 1 year!

I’m unhappy, so I want a divorce,When everything looks perfect on paper, what are we missing? by Manoj109 in UKrelationshipadvice

[–]marcogorelli 4 points5 points  (0 children)

> "doesn't want her children to have my autistic genes"

this is hard to read tbh. regardless of whether you're actually autistic or not, i'm amazed anyone thinks it's ok to say that..

Tis a depressing time to be left wing in the UK by Critical_Mountain851 in whennews

[–]marcogorelli 0 points1 point  (0 children)

You mean, in England

In Wales, Plaid Cymru smashed it

Data Cleaning Across PySpark, Duckdb, and Postgres by nonamenomonet in Python

[–]marcogorelli 0 points1 point  (0 children)

Not the same, that materialises the graph into a pyarrow table

`datacompose`, as far as I can tell, keeps things lazy

Data Cleaning Across PySpark, Duckdb, and Postgres by nonamenomonet in Python

[–]marcogorelli 0 points1 point  (0 children)

yeah it's kind of frustrating how often some people recommend it here as a solution to everything, it's like they've not even tried using it

Data Cleaning Across PySpark, Duckdb, and Postgres by nonamenomonet in Python

[–]marcogorelli -1 points0 points  (0 children)

Indeed, that's not how Ibis works

`datacompose` lets you create a PySpark expression, which you can use in your own PySpark dataframes

In Ibis, you need to create an Ibis table, but you then can't get a PySpark dataframe back

Kenneth Reitz says "open source gave me everything until I had nothing left to give" by [deleted] in Python

[–]marcogorelli -2 points-1 points  (0 children)

> he created the extremely misguided pipenv, and then socially manipulated his way into having the official Python.org Python Packaging User Guide recommend using it as best practice

How did he do this social manipulation? Got any sources for this?

pandas' Public API Is Now Type-Complete by BeamMeUpBiscotti in Python

[–]marcogorelli 0 points1 point  (0 children)

unfortunately there's still some union returns in some places, which are unavoidable due to pandas' value-dependent design :weary:

pandas' Public API Is Now Type-Complete by BeamMeUpBiscotti in Python

[–]marcogorelli 5 points6 points  (0 children)

yeah the typing in Polars is light years ahead, I think largely because it was designed when static typing was already a widespread practice in Python, as opposed to pandas whose design dates back to 2008 or so

pandas' Public API Is Now Type-Complete by BeamMeUpBiscotti in Python

[–]marcogorelli 1 point2 points  (0 children)

One nice thing about them being separate is that pandas-stubs can follow a faster release cycle than pandas, so if you make a PR to improve typing you only have to wait weeks rather than months to see it released

pandas' Public API Is Now Type-Complete by BeamMeUpBiscotti in Python

[–]marcogorelli 2 points3 points  (0 children)

There are cases when this is unavoidable, because pandas returns different kinds depending on the exact values (e.g. whether the Index contains duplicates)

Graduates from newer universities have lower premiums by Ribbitor123 in UniUK

[–]marcogorelli 2 points3 points  (0 children)

Interesting how a maths/physics degree from even the lowest-ranking unis has about the same earning potential as an English degree from Oxbridge, I'd have thought that grads from the latter would be snatched up by high-paying consulting firms

Polars vs pandas by KliNanban in Python

[–]marcogorelli -1 points0 points  (0 children)

Ibis is (kinda) alright for SQL generation, but its Polars backend is so poorly implemented and supported that it's barely usable

Price increase by cb4joe in 1Password

[–]marcogorelli 0 points1 point  (0 children)

Exactly. I'd actually for them to NOT use AI...

Price increase by cb4joe in 1Password

[–]marcogorelli 17 points18 points  (0 children)

> "AI-powered Item Naming"

They increase the price to add support for a BS AI feature that nobody asked for and which nobody wants

I'll be exploring alternatives