This PR fixes the groupby() logic in the Metrics class by moving the column filtering to before the groupby call, so that groupby method calls don't raise warnings. This also fixes the tow-to-port logging messages so that tows to port are registered in Metrics.number_of_tows method.
This PR fixes the
groupby()
logic in theMetrics
class by moving the column filtering to before the groupby call, so that groupby method calls don't raise warnings. This also fixes the tow-to-port logging messages so that tows to port are registered inMetrics.number_of_tows
method.