def assign_columns(psdf: DataFrame, this_column_labels: List[Label], that_column_labels: List[Label]) -> Iterator[Tuple[('Series', Label)]]:
    assert (len(key) == len(that_column_labels))
    for (k, this_label, that_label) in zip_longest(key, this_column_labels, that_column_labels):
        (yield (psdf._psser_for(that_label), tuple(['that', *k])))
        if ((this_label is not None) and (this_label[1:] != k)):
            (yield (psdf._psser_for(this_label), this_label))
def assign_columns(psdf: DataFrame, this_column_labels: List[Label], that_column_labels: List[Label]) -> Iterator[Tuple[('Series', Label)]]:
    assert (len(key) == len(that_column_labels))
    for (k, this_label, that_label) in zip_longest(key, this_column_labels, that_column_labels):
        (yield (psdf._psser_for(that_label), tuple(['that', *k])))
        if ((this_label is not None) and (this_label[1:] != k)):
            (yield (psdf._psser_for(this_label), this_label))