From e872a68670e5e2a1db3f857a06855313aca50fc6 Mon Sep 17 00:00:00 2001 From: Kelly Felkins Date: Wed, 6 Dec 2023 13:23:48 -0800 Subject: [PATCH 1/2] Hopefully improve description of DataFrame.arrange_with() --- lib/explorer/data_frame.ex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/explorer/data_frame.ex b/lib/explorer/data_frame.ex index 64c229217..95d1f6cb7 100644 --- a/lib/explorer/data_frame.ex +++ b/lib/explorer/data_frame.ex @@ -3150,9 +3150,8 @@ defmodule Explorer.DataFrame do @doc """ Arranges/sorts rows by columns using a callback function. - The callback receives a lazy dataframe. A lazy dataframe does - hold any values, instead it stores all operations in order to - execute all sorting performantly. + The callback receives a lazy dataframe. A lazy dataframe does not + hold values; instead it stores operations for efficient sorting. This is a callback version of `arrange/2`. From 954f2bffbc37b6ceb54749094fcfe7a43d4270ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 7 Dec 2023 00:29:32 +0100 Subject: [PATCH 2/2] Update lib/explorer/data_frame.ex --- lib/explorer/data_frame.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/explorer/data_frame.ex b/lib/explorer/data_frame.ex index 95d1f6cb7..c56a15068 100644 --- a/lib/explorer/data_frame.ex +++ b/lib/explorer/data_frame.ex @@ -3150,8 +3150,8 @@ defmodule Explorer.DataFrame do @doc """ Arranges/sorts rows by columns using a callback function. - The callback receives a lazy dataframe. A lazy dataframe does not - hold values; instead it stores operations for efficient sorting. + The callback receives a lazy dataframe which stores + operations instead of values for efficient sorting. This is a callback version of `arrange/2`.