Resolve Missing Header when Printing CSV in Python with Visual Studio Code on Windows - DevPops-Inc/windows GitHub Wiki

• The following resolution is for if the first-row acts as the header when printing a .csv in Python.
image

• Click after where the .csv file is called in the editor.
image

• Type , header=None to set no header.
image

• Press the “End” key and the “Enter” key to create a new line.
image

• Type df_csv.colums = [‘< colunmn 1 >’, ‘< column 2 >’, ‘< . . . >’ ] and press the “Enter” key to define the columns.
image

• Press the Run button and the .csv will print this time with a better header.
image

⚠️ **GitHub.com Fallback** ⚠️