对于最后一列具有“未分配”的每一行,我想将其替换为中间列的值。 例如,我的输入是:
7 M6A North York Lawrence Manor
8 M7A Queen's Park Not assigned
10 M9A Etobicoke Islington Avenue
我想要的输出是这样:
7 M6A North York Lawrence Manor
8 M7A Queen's Park Queen's Park
10 M9A Etobicoke Islington Avenue
非常感谢! YishaiRasowsky@gmail.com