pandas.ExcelWriter.check_extension

classmethod ExcelWriter.check_extension(ext)[source]

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