how to read file in python csv code example
Example 1: how to read a csv file in python
import pandas as pd
df=pd.read_csv('the_file.csv')
Example 2: import csv file in python
import pandas as pd
df = pd.read_csv (r'Path where the CSV file is stored\File name.csv')
print (df)