https://datatables.net/extensions/buttons/examples/html5/excelAutoFilter.html
Indeed, the example file does not open in LibreOffice
with AutoFilter.
When I read the file with OpenPyXL, I can see that auto_filter is on $A$2:$F$59. If I write the file and open it in LibreOffice, it works as expected.
What is DataTables doing to make it work in Excel but not LibreOffice?