Hi! Um, I have this code that deals with Pyspark, and in it I have three functions that should all result in the same output. However for some reason only the first of the three function displays the correct output: https://hastebin.com/wejavutugi.py
Output: https://hastebin.com/zawakoxona.json
If anyone is free and could point me in what I'm doing wrong, I'd appreciate it.