I would like to convert everything but the first column of a pandas dataframe into a numpy array. For some reason using the columns= parameter of DataFram
columns=
DataFram
Hope this easy one liner helps:
cols_as_np = df[df.columns[1:]].to_numpy()