Is it possible to exclude a column from totals row?

I have a custom report in my plugin, where I put a date string in a column, e.g. 2023-07-27. When I enable the totals row for the table I get lots of PHP warnings like:

WARNING: /core/DataTable/Row.php(808): Trying to add two strings in DataTable\Row::sumRowArray: 0 + 2023-07-27 for column...

Is there any way to avoid this, like telling the table that in this column is a string that should not be calculated?

OK, I think I found a solution:

$dataTable->setMetadata(
  DataTable::COLUMN_AGGREGATION_OPS_METADATA_NAME,
  ['column_name' => 'skip']
);