To assign column names in pandas, you can use the columns parameter when creating a DataFrame. You can pass a list of column names as the value for the columns parameter. For example, if you have a DataFrame df and you want to assign the column names "A", "B", and "C", you can do so by passing columns=["A", "B", "C"] when creating the DataFrame. This will assign the specified column names to the columns of the DataFrame.