I have a data frame in python/pyspark with columns id time city zip and so on......
id
time
city
zip
Now I added a new column
You can use select to change the order of the columns:
select
df.select("id","name","time","city")