Python - Subset spezifische Spaltenname in einem Datenrahmen
columns = ['b', 'c']
df1 = pd.DataFrame(df, columns=columns)
Andrea Perlato
columns = ['b', 'c']
df1 = pd.DataFrame(df, columns=columns)
df1 = df[['a', 'b']]
interested_var_cat <- select(data, "stflife", "psppipla", "polintr", "imwbcnt", "imbgeco", "imueclt", "imsmetn", "imdfetn", "impcntr")