Read a csv file into dataframe with headers code example
Example 1: pandas read csv without header
df = pd.read_csv(train_file_path,sep="\t", header=None)
Example 2: read a csv file in pandas
you should be in the same dir as .py file
df = pd.read_csv('your_file_name.csv')