Open
Description
Similar to #29102, excel and csv file extensions now have inconsistent errors for nonexistent files.
import pandas as pd
pd.read_csv('file_1.csv')
IOError: [Errno 2] File file_1.csv does not exist: 'file_1.csv'
pd.read_excel('file_2.xlsx')
IOError: [Errno 2] No such file or directory: 'file_2.xlsx'
Would be better to have a uniform error message across multiple file extensions, like the one with json in #29104:
FileNotFoundError: File 'no_file.json' does not exist