/
Write
Start a team blog
NEW ✨
Start a team blog, invite your team, and start publishing.
My FeedExploreDraftsBookmarksHackathons
Team BlogsNEW
AboutCareersOfficial Blog
Download App
Logos & Media

Trending tags
See all

© 2022 Hashnode

PySpark

#pyspark

Write An Article
9 Followers·19 Articles
HotNew
Kishan Yadav
kishanyadav.hashnode.dev·Sep 4, 2022

Sampling method in PySpark

𝐒𝐢𝐦𝐩𝐥𝐞 𝐑𝐚𝐧𝐝𝐨𝐦 𝐒𝐚𝐦𝐩𝐥𝐢𝐧𝐠 𝐨𝐫 𝐬𝐚𝐦𝐩𝐥𝐞():- ☑️ In Simple random sampling, we pick records randomly and every records has an equal chance to get picked. 🔵 Syntax:- sample(withRepl…

Sampling method in PySpark
PySparkPython+3
1