Skip to content
Advertisement

Joining dataframes using rust polars in Python

I am experimenting with polars and would like to understand why using polars is slower than using pandas on a particular example:

JavaScript

Advertisement

Answer

A pandas join uses the indexes, which are cached.

A comparison where they do the same:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement