GRRateGrid.strip#

GRRateGrid.strip(inplace: bool = False) GRRateGrid | None#

Remove all columns except the required ones defined in _required_cols.

Parameters:

inplace – Whether to perform the operation in place on the data.

Returns:

rategrid – GRRateGrid with the stripped columns.