def _wrangle_vmr(df, rename):
    'Rounds, renames, and sanitizes vessel movment DataFrame. Creates new\n    columns.\n\n    Args:\n        df: Vessel movement DataFrame.\n\n    Returns:\n        Cleaned vessel movement report DataFrame.\n    '
    df.rename(rename, axis=1, inplace=True)
    df.loc[:, 'LOA ft'] = ((df.loc[:, 'A'] + df.loc[:, 'B']) * M_TO_FT)
    df.loc[:, 'LOA ft'] = df.loc[:, 'LOA ft'].round(0)
    df.loc[:, 'Beam ft'] = ((df.loc[:, 'C'] + df.loc[:, 'D']) * M_TO_FT)
    df.loc[:, 'Beam ft'] = df.loc[:, 'Beam ft'].round(0)
    df.loc[:, 'Latitude'] = df.loc[:, 'Latitude'].round(5)
    df.loc[:, 'Longitude'] = df.loc[:, 'Longitude'].round(5)
    df = _sanitize_vmr(df)
    df = df.loc[(df.loc[:, 'LOA ft'] >= SUB_PANAMAX), :]
    df.loc[:, 'Date/Time UTC'] = df.loc[:, 'Date/Time UTC'].str.strip('UTC')
    df.loc[:, 'Date/Time UTC'] = pd.to_datetime(df.loc[:, 'Date/Time UTC'])
    df = df.loc[:, ['Date/Time UTC', 'Name', 'MMSI', 'LOA ft', 'Latitude', 'Longitude', 'Course', 'AIS Type', 'Heading', 'VSPD kn', 'Beam ft']]
    return df
Rounds, renames, and sanitizes vessel movment DataFrame. Creates new
columns.

Args:
    df: Vessel movement DataFrame.

Returns:
    Cleaned vessel movement report DataFrame.
def _wrangle_vmr(df, rename):
    'Rounds, renames, and sanitizes vessel movment DataFrame. Creates new\n    columns.\n\n    Args:\n        df: Vessel movement DataFrame.\n\n    Returns:\n        Cleaned vessel movement report DataFrame.\n    '
    df.rename(rename, axis=1, inplace=True)
    df.loc[:, 'LOA ft'] = ((df.loc[:, 'A'] + df.loc[:, 'B']) * M_TO_FT)
    df.loc[:, 'LOA ft'] = df.loc[:, 'LOA ft'].round(0)
    df.loc[:, 'Beam ft'] = ((df.loc[:, 'C'] + df.loc[:, 'D']) * M_TO_FT)
    df.loc[:, 'Beam ft'] = df.loc[:, 'Beam ft'].round(0)
    df.loc[:, 'Latitude'] = df.loc[:, 'Latitude'].round(5)
    df.loc[:, 'Longitude'] = df.loc[:, 'Longitude'].round(5)
    df = _sanitize_vmr(df)
    df = df.loc[(df.loc[:, 'LOA ft'] >= SUB_PANAMAX), :]
    df.loc[:, 'Date/Time UTC'] = df.loc[:, 'Date/Time UTC'].str.strip('UTC')
    df.loc[:, 'Date/Time UTC'] = pd.to_datetime(df.loc[:, 'Date/Time UTC'])
    df = df.loc[:, ['Date/Time UTC', 'Name', 'MMSI', 'LOA ft', 'Latitude', 'Longitude', 'Course', 'AIS Type', 'Heading', 'VSPD kn', 'Beam ft']]
    return df