ibis icon indicating copy to clipboard operation
ibis copied to clipboard

feat(pyspark): add mode computation

Open KDra opened this issue 6 months ago • 1 comments

Is your feature request related to a problem?

No

What is the motivation behind your request?

table.describe() is a very useful feature that I would like to also run on PySpark tables

Describe the solution you'd like

I could implement it myself but I am unsure where to start

What version of ibis are you running?

10.5.0

What backend(s) are you using, if any?

PySpark

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

KDra avatar May 27 '25 11:05 KDra

You can add ops.Mode: "mode" to the SIMPLE_OPS mapping in the PySpark compiler, then run the test suite with pytest -m pyspark -k mode and remove the "pyspark" string from whichever tests are now passing.

cpcloud avatar May 27 '25 13:05 cpcloud