MCPcopy Create free account
hub / github.com/apache/spark-connect-rust / random_split

Method random_split

crates/connect/src/dataframe.rs:793–831  ·  view source on GitHub ↗

Randomly splits this [DataFrame] with the provided weights.

(self, weights: I, seed: Option<i64>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_df_random_splitFunction · 0.80

Calls 4

sumMethod · 0.80
collectMethod · 0.80
getMethod · 0.45
sampleMethod · 0.45

Tested by 1

test_df_random_splitFunction · 0.64