header-row

Prevent pandas read_csv treating first row as header of column names

Prevent pandas read_csv treating first row as header of column names Question: I’m reading in a pandas DataFrame using pd.read_csv. I want to keep the first row as data, however it keeps getting converted to column names. I tried header=False but this just deleted it entirely. (Note on my input data: I have a string …

Total answers: 4