how to remove column names and index in pandas code example Example: how remove name of index pandas df = df.rename_axis(None, axis = 1)