Pandas 2.0.0 added data_format parameter to the read_csv function. The latest version of pandas-stubs doesn't seem to have a type hint for this. def read_csv(filepath_or_buffer: Union[Union[str, ...