A column can be added using the .loc[] property and a slice. The following demonstrates this by adding a new column to a subset of sp500 named PER with all values initialized to 0.
A Series with existing data can also be added in this manner. The following adds the PER column with random data from a series. Since this uses alignment, it is necessary to use the same index as the target data frame.