def METHOD_NAME():
    df = pd.read_csv(
        StringIO(
            "location_id,date,cases\n"
            "iso1:us#fips:1,2020-10-27,10\n"
            "iso1:us#fips:1,2020-10-28,11\n"
            "iso1:us#fips:1,2020-10-29,\n"
        ),
        low_memory=False,
    ).set_index([CommonFields.LOCATION_ID, CommonFields.DATE])
    result = dataset_utils.build_latest_for_column(df, CommonFields.CASES)
    expected = pd.Series([11.0], index=["iso1:us#fips:1"], name="cases")
    expected.index.name = "location_id"
    pd.testing.assert_series_equal(result, expected)