Retrieve DataFrame of all but one specified column

Is there a way to select all but one column in a pandas DataFrame object? I've seen ways to delete a column, but I don't want to do that.

use drop method:

    df.drop(column_name, axis=1)

From: stackoverflow.com/q/20230326

Back to homepage or read more recommendations: