Supplying a list of columns names in the read_csv() should do the trick.
ex: names=[‘a’, ‘b’, ‘c’, ‘d’, ‘e’]
https://github.com/pydata/pandas/issues/2981
Edit: if you don’t want to supply column names then do what Nicholas suggested
More Related Contents:
- Pandas percentage of total with groupby
- Using Pandas to pd.read_excel() for multiple worksheets of the same workbook
- How to add pandas data to an existing csv file?
- How to explode a list inside a Dataframe cell into separate rows
- How to print pandas DataFrame without index
- Reversing ‘one-hot’ encoding in Pandas
- Repeat rows in a pandas DataFrame based on column value
- Accessing every 1st element of Pandas DataFrame column containing lists
- Dropping infinite values from dataframes in pandas?
- How to flatten a nested JSON recursively, with flatten_json
- How to invoke pandas.rolling.apply with parameters from multiple column?
- Convert commas decimal separators to dots within a Dataframe
- How can I use cumsum within a group in Pandas?
- How to group DataFrame by a period of time?
- Why does df.apply(tuple) work but not df.apply(list)?
- Plot multiple columns of pandas DataFrame on the bar chart
- Python: Random selection per group
- Keep selected column as DataFrame instead of Series
- How to get unique values from multiple columns in a pandas groupby
- Merge a list of pandas dataframes
- How do I delete a column that contains only zeros in Pandas?
- Pandas reindex dates in Groupby
- How to repeat a Pandas DataFrame?
- Pandas ParserError EOF character when reading multiple csv files to HDF5
- Get column name where value is something in pandas dataframe
- Find index of all rows with null values in a particular column in pandas dataframe
- countplot with normalized y axis per group
- Check if certain value is contained in a dataframe column in pandas [duplicate]
- double quoted elements in csv cant read with pandas
- how to understand closed and label arguments in pandas resample method?