The first step is to make sure the csv file is in the name directory as the python code, once you have done so, you can write the following code in the python file.
# import the needed library
import pandas as pd
# read in the file
df = pd.read_csv("name_of_file.csv")