Alternatively you can just assign None
to the index.name
attribute:
>>> df.index.name = None
>>> print(df)
Column 1
Apples 1
Oranges 2
Puppies 3
Ducks 4
More Related Contents:
- How are iloc and loc different?
- How to convert index of a pandas dataframe into a column
- pandas loc vs. iloc vs. at vs. iat?
- How to reset index in a pandas dataframe? [duplicate]
- What rules does Pandas use to generate a view vs a copy?
- Pandas split DataFrame by column value
- Selecting a row of pandas series/dataframe by integer index
- How to avoid Python/Pandas creating an index in a saved csv?
- What is the difference between using squared brackets or dot to access a column?
- how do I insert a column at a specific column index in pandas?
- What is the performance impact of non-unique indexes in pandas?
- Python Pandas: Get index of rows which column matches certain value
- Accessing Pandas column using squared brackets vs using a dot (like an attribute)
- What is the point of indexing in pandas?
- Python pandas slice dataframe by multiple index ranges
- Update row values where certain condition is met in pandas
- How to query MultiIndex index columns values in pandas
- Get column index from column name in python pandas
- Pandas – Compute z-score for all columns
- How to avoid pandas creating an index in a saved csv
- Python Pandas: Get index of rows where column matches certain value
- Selecting pandas column by location
- Get first row value of a given column
- Python: Removing Rows on Count condition
- Using replace efficiently in pandas
- In Python pandas, start row index from 1 instead of zero without creating additional column
- Selecting a range of columns in a dataframe
- How to efficiently assign unique ID to individuals with multiple entries based on name in very large df
- What’s the alternative to pandas chain indexing?
- start index at 1 for Pandas DataFrame