create a new dataframe from existing dataframe pandas

33

new = old[['A', 'C', 'D']].copy()
new = old[['A', 'C', 'D']].copy()
new = pd.DataFrame([old.A, old.B, old.C]).transpose()

Comments

Submit
0 Comments