Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

change specific column name pandas

df_new = df.rename(columns={'A': 'a'}) #change a from A
 
PREVIOUS NEXT
Tagged: #change #specific #column #pandas
ADD COMMENT
Topic
Name
8+9 =