registration-reminder-modal
Learning & Certification
Certifications
Learning Paths
Databricks Product Tours
Get Started Guides
Product Platform Updates
What's New in Databricks
Discussions
Databricks Platform Discussions
Administration & Architecture
Data Engineering
Data Governance
Generative AI
Machine Learning
Warehousing & Analytics
Databricks Free Trial Help
Community Discussions
Certifications
Training offerings
Community Platform Discussions
Get Started Discussions
Summit 2024
Resources
Get Started Resources
Events
Support FAQs
Technical Blog
Knowledge Sharing Hub
Announcements
DatabricksTV
Groups
Regional and Interest Groups
Americas (AMER)
Asia-Pacific & Japan (APJ)
Europe, Middle East, and Africa (EMEA)
Interest Groups
Private Groups
Skills@Scale
Community Cove
Databricks Community Champions
Khoros Community Forums Support (Not for Databricks Product Questions)
Databricks Community Code of Conduct
Register to join the community
Databricks Community
Learning & Certification
Certifications
Learning Paths
Databricks Product Tours
Get Started Guides
Product Platform Updates
What's New in Databricks
Discussions
Databricks Platform Discussions
Administration & Architecture
Data Engineering
Data Governance
Generative AI
Machine Learning
Databricks Platform Discussions
Warehousing & Analytics
Databricks Free Trial Help
Community Discussions
Certifications
Training offerings
Community Platform Discussions
Get Started Discussions
Summit 2024
Resources
Get Started Resources
Events
Support FAQs
Technical Blog
Knowledge Sharing Hub
Announcements
DatabricksTV
Groups
Regional and Interest Groups
Americas (AMER)
Asia-Pacific & Japan (APJ)
Europe, Middle East, and Africa (EMEA)
Interest Groups
Private Groups
Skills@Scale
Community Cove
Databricks Community Champions
Khoros Community Forums Support (Not for Databricks Product Questions)
Databricks Community Code of Conduct
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
Search instead forÂ
Did you mean:Â
Help
Login/
Register
NithinTiruveedh
New Contributor II
since
‎08-27-2021
‎06-26-2023
0%
Please visit your
Settings Page
to complete your profile.
User Stats
3
Posts
0
Solutions
0
Kudos given
0
Kudos received
Databricks Community
About NithinTiruveedh
Options
User Activity
Posts
Replies
How can I split a Spark Dataframe into n equal Dataframes (by rows)? I tried to add a Row ID column to acheive this but was unsuccessful.
06-20-2016
I have a dataframe that has 5M rows. I need to split it up into 5 dataframes of ~1M rows each. This would be easy if I could create a column that contains Row ID. Is that possible?
Re: How can I split a Spark Dataframe into n equal Dataframes (by rows)? I tried to add a Row ID column to acheive this but was unsuccessful.
06-21-2016
Thank you Giri!
Re: How can I split a Spark Dataframe into n equal Dataframes (by rows)? I tried to add a Row ID column to acheive this but was unsuccessful.
06-21-2016
Thank you Sidd!