I come up with a dataframe like this, I wonder how can we change or drop the \'id\' and \'date\' as they are just the names for index and columns.
id
These variables are represented through the name property:
name
df.columns.name = None df.index.name = None