Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
Which of the following code blocks returns a 15% sample of rows from the DataFrame storesDF without replacement?
storesDF
A
storesDF.sample(fraction = 0.10)
B
storesDF.sampleBy(fraction = 0.15)
C
storesDF.sample(True, fraction = 0.10)
D
storesDF.sample()
E
storesDF.sample(fraction = 0.15)