Python Crear nuevo Pandas DataFrame con columnas específicas
# Basic syntax:
new_dataframe = old_dataframe.filter(['Columns','you','want'], axis=1)
Charles-Alexandre Roy
# Basic syntax:
new_dataframe = old_dataframe.filter(['Columns','you','want'], axis=1)
new = old[['A', 'C', 'D']].copy()
new = pd.DataFrame([old.A, old.B, old.C]).transpose()