We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65dfb79 commit eb4d81aCopy full SHA for eb4d81a
Sources/SparkConnect/DataFrame.swift
@@ -311,7 +311,6 @@ public actor DataFrame: Sendable {
311
/// - Parameters:
312
/// - withReplacement: Sample with replacement or not.
313
/// - fraction: Fraction of rows to generate, range [0.0, 1.0].
314
- /// - seed: Seed for sampling.
315
/// - Returns: A subset of the records.
316
public func sample(_ withReplacement: Bool, _ fraction: Double) -> DataFrame {
317
return sample(withReplacement, fraction, Int64.random(in: Int64.min...Int64.max))
0 commit comments