Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

map vs mapValues in Spark

Asked by Aashna Saito Nov 30, -0001 518 views 1 answer
Share

About this question

I'm currently learning Spark and developing custom machine learning algorithms. My question is what is the difference between .map() and .mapValues() and what are cases where I clearly have to use one instead of the other?

Your answer

1 Answer

Aashna Saito Latest answer

Answered on Jun 23, 2021

Was this helpful?

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.