• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
0

Pyspark glom()

I do understand that it returns RDD coalescing all elements within each partition into a list. What happens when we don’t specify the num of partition, is there is a default? where do we actually use it?

actionpysparktransformationdataengineering
18th Jun 2024, 3:28 AM
Chethana
Chethana - avatar
1 Antwort
+ 1
Have you tried looking at the documentation? The glom() method does not have any arguments. https://spark.apache.org/docs/latest/api/JUMP_LINK__&&__python__&&__JUMP_LINK/reference/api/pyspark.RDD.glom.html https://stackoverflow.com/questions/24996302/setting-sparkcontext-for-pyspark https://stackoverflow.com/questions/65489387/whats-the-meaning-of-num-slices-parameter-in-sc-parallelize
18th Jun 2024, 4:20 PM
Tibor Santa
Tibor Santa - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Issue with Sololearn Module Quiz Despite Correct Answers
1 Votes
Remove
0 Votes
I need help to solve this
0 Votes
Engineer Cloud
0 Votes
Project
0 Votes
Lua?
1 Votes
Hey what the research process order for them that I am telling you please order them and tell me answer
0 Votes
by getting subscription will it help to me be a pro in python is it appropriate app? please guide me
0 Votes
Ayuda para insertar la imagen de portada y las melodías a mi álbum alguien sabe cómo
0 Votes