I have a .csv file without headers. I want to import it to create a pandas dataframe object.
.csv
df1 = pd.read_csv(infile, global_sep, header = 0)
If you use:
df1 = pd.read_csv(infile, global_sep, header=None)
It will work.