Convert List of Integer to an Integer in Python - Spark By {Examples}

Convert List of Integer to an Integer in Python - Spark By {Examples}