a2rl.WiDataFrame.trim#

WiDataFrame.trim(copy=False)[source]#

Get the sar columns of this data frame.

Raise an error when any of the expected sar column names is missing from this data frame.

Parameters:

copy (bool) – True to return a new copy of data frame, False to return a view to this data frame.

Return type:

WiDataFrame

Returns:

Data frame with only the sar columns. If copy=False, the returned data frame is a a view to this data frame, else a new data frame.