pandas / 1 / reference / api / pandas.excelwriter.check_extension.html

pandas.ExcelWriter.check_extension

classmethodExcelWriter.check_extension(ext)[source]

checks that path’s extension against the Writer’s supported extensions. If it isn’t supported, raises UnsupportedFiletypeError.

© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/api/pandas.ExcelWriter.check_extension.html