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.
•
• Click after where the .csv file is called in the editor.
•
• Type , header=None
to set no header.
•
• Press the “End” key and the “Enter” key to create a new line.
•
• Type df_csv.colums = [‘< colunmn 1 >’, ‘< column 2 >’, ‘< . . . >’ ]
and press the “Enter” key to define the columns.
•
• Press the Run button and the .csv will print this time with a better header.
•