copy multiple columns to new dataframe pandas code example Example: copy only some columns to new dataframe in r new = old[['A', 'C', 'D']].copy()