I have a dataframe in pyspark that has uppercase columns such as ID, COMPANYetc.
I want the names of these columns to be ID COMPANYand so on. It's awkward to convert all columns to lower or upper case, depending on the requirement.
I want to make the column data types remain the same.
How can we do this?
user7543621
source
share