Hello @Fresch ,
Thank you for upgrading to Maple 2022.
We're sorry for the trouble. The ?latex article has this note about some limitations:
and DataFrames appear to be another in Maple 2022.0.
Our development team will look into improvements to future updates and versions of Maple.
In the meantime, their recommendations for workarounds are:
The easiest is probably to make sure the DataFrame is never printed (by ending all appropriate statements with ":" instead of ";") and then calling DocumentTools:-Tabulate(test): to include a nicely formatted table in the worksheet; and finally export the worksheet to .tex.
Alternatively, you can convert the dataframe to, e.g., a Matrix, and latex that; but then you lose the row and column headers.