Sep-28-2021, 07:45 PM
Do you want to change the name of an existing column (rename) or add a column? Adding a column is easy:
df['New Column Name'] = valuesWhere "New Column Name" is the name you want to use to ID the column and values is the list/array/whatever that you want to add.