Question: I have a .xml file below, I want to parse it in pyspark (Spark using python) so that I can count the number of Id
I have a .xml file below, I want to parse it in pyspark (Spark using python) so that I can count the number of Id in this file. For example, the one below will output number of id = 3 after counting. I need the parser so that I can output a file that contain all Id content. For example, the output file will be:
7
8
9
Can someone help me please?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
