I have a Pandas dataframe with a single row. I want to simultaneously add a list of columns, called new_cols, and set all of their values to 0.
Is there a straightforward way of doing this?
My attempt:
article_features[new_cols] = 0 but that doesn't work :(
Thanks!