import pandas as pd # Import cvs file my_dataframe = pd.read_csv('a_file.csv') # Import xlsx my_dataframe_2 = pd.read_excel('a_file_2.xlsx')