
Ultimate access to all questions.
Which of the following code blocks returns a 10% sample of rows from DataFrame storesDF with replacement?
A
storesDF.sample(true)
B
storesDF.sample(true, fraction = 0.1)
C
storesDF.sample(true, fraction = 0.15)
D
storesDF.sampleBy(fraction = 0.1)
E
storesDF.sample(false, fraction = 0.1)