Pyspark Flatten, Created using Sphinx 3.