79713090

Date: 2025-07-24 09:12:25
Score: 3
Natty:
Report link

I think you could compute the hash value for the join columns, then join the two dataframes using that hash value. It will save the cost to match the join conditions.

Polars provides a built-in hash function: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.hash.html#polars-expr-hash, or try other hash functions provided by https://github.com/ion-elgreco/polars-hash

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Haryfw