Use index=False
.
df.to_csv('your.csv', index=False)
More Related Contents:
- How to avoid Python/Pandas creating an index in a saved csv?
- start index at 1 for Pandas DataFrame
- How do I read a large csv file with pandas?
- How are iloc and loc different?
- How to add pandas data to an existing csv file?
- Create Pandas DataFrame from a string
- Import CSV file as a pandas DataFrame
- Keep only date part when using pandas.to_datetime
- 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?
- Python Pandas: Get index of rows which column matches certain value
- Remove index name in pandas
- Pandas split column into multiple columns by comma
- Convert commas decimal separators to dots within a Dataframe
- How to efficiently handle European decimal separators using the pandas read_csv function?
- Pandas – Compute z-score for all columns
- Pandas – Strip white space
- Filter string data based on its string length
- UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x96 in position 35: invalid start byte
- Pandas – write Multiindex rows with to_csv
- How to add header row to a pandas DataFrame
- Using replace efficiently in pandas
- Pandas ParserError EOF character when reading multiple csv files to HDF5
- Python Pandas – Read csv file containing multiple tables
- Is there a way to speed up handling large CSVs and dataframes in python?
- Calculate summary statistics of columns in dataframe
- double quoted elements in csv cant read with pandas
- how to specify the datetime format in read_csv
- UnicodeDecodeError when reading CSV file in Pandas
- How to return a csv file/Pandas DataFrame in JSON format using FastAPI?