We are trying to upgrade python version from 2.7 to 3.6 in our PySpark project. We have upgraded version and code is running fine in python 3.6. But as per output data, enco