Skip to content
RED SAGSkills
hard20 pts · first answer countssparkspark-mllib

Rows in both train and test

train, test = df.randomSplit([0.8, 0.2], seed=7) is used on a DataFrame built from a non-deterministic source and not cached. Some rows appear in both splits. Why can this happen?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions