open csv dataframe pandas code example Example 1: pandas read csv df = pd.read_csv('data.csv') Example 2: pandas how to read csv pandas.read_csv("file.csv")