Suppose panda has been already imported then the correct code to open ' IT_dept_data.csv' file is : code example
Example: how to import csv in pandas
import pandas as pd
df = pd.read_csv (r'Path where the CSV file is stored\File name.csv')
print (df)