Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rename df column

import pandas as pd
data = pd.read_csv(file)
data.rename(columns={'original':'new_name'}, inplace=True)
 
PREVIOUS NEXT
Tagged: #rename #df #column
ADD COMMENT
Topic
Name
3+6 =