pymovements.gaze.GazeDataFrame.nest#

GazeDataFrame.nest(input_columns: list[str], output_column: str) None[source]#

Nest component columns into a single tuple column.

Input component columns will be dropped.

Parameters:
  • input_columns – Names of input columns to be merged into a single tuple column.

  • output_column – Name of the resulting tuple column.