def METHOD_NAME(tb_qcl: Table) -> Table:
    # Select the relevant metric in FAOSTAT dataset.
    tb_qcl = tb_qcl[tb_qcl["element_code"] == ELEMENT_CODE_FOR_YIELD].reset_index(drop=True)
    # Store FAOSTAT QCL metadata (it will be used later after transforming the table).
    metadata_qcl = tb_qcl.metadata
    # Sanity check.
    error = "Units of yield may have changed in FAOSTAT QCL."
    assert set(tb_qcl["unit"]) == {"tonnes per hectare"}, error
    # Transpose FAOSTAT data.
    tb_qcl = tb_qcl.pivot(index=["country", "year"], columns=["item"], values=["value"])
    tb_qcl.columns = [f"{underscore(column[1])}_yield" for column in tb_qcl.columns]
    tb_qcl = tb_qcl.reset_index()
    tb_qcl.metadata = metadata_qcl
    return tb_qcl