Salin hanya beberapa kolom ke DataFrame baru di R
new = old[['A', 'C', 'D']].copy()
Fantastic Fly
new = old[['A', 'C', 'D']].copy()
new = pd.DataFrame([old.A, old.B, old.C]).transpose()