eg if my table looks like this:
column 1 column 2 column 3 column 4083282 128033 houseman eiuefief983298 120942 penhouse wfdwhf239832 108128 random idqiydqy
Say I want to extract all column 3 rows that contain the string "house" and put these values into column 5 so they look like this:
column 1 column 2 column 3 column 4 column 5083282 128033 houseman eiuefief houseman983298 120942 penhouse wfdwhf penhouse239832 108128 random idqiydqy
Because column 5 has to have the same height as the other columns, the rows that don't contain the column can have NaN, 0, missing or something else to indicate that they don't contain anything:
column 1 column 2 column 3 column 4 column 5083282 128033 houseman eiuefief houseman983298 120942 penhouse wfdwhf penhouse239832 108128 random idqiydqy NaN
Best Answer