In pandas, if I have a dataframe called df
, I can get one column with
df.column_one
and, I can get some specific columns with
df[['column_one', 'column_two']]
how I can get all columns without one specific?
Example: if I have a dataframe with n columns col_1
, col_2
, ... col_n
,
How I can get all columns without col_n
?