Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Rename columns

# 20. Rename a column
df.rename(columns={"Airline": "Airline_Code", "AirportFrom":"Airport_From"})
Source by jyoti05iitd.medium.com #
 
PREVIOUS NEXT
Tagged: #Rename #columns
ADD COMMENT
Topic
Name
1+3 =