pandas assign column name function code example Example: dataframe change column names #Pandas for Python df.coloumns = ['A','B']