Hi, Sarah,
There is a mistake in the column name and the desired output is pretty much
the same as the input data frames except for the replacement of
'some_string' by the word 'alcohol' in the column I specified above.
Yet, your code is what I am looking for and helped me to get started and
figur
Your desired output seems to be the same as your desired input in your
example, and your data frames have different column names.
Nonetheless, this bit of code will find rows with "alcohol" in column
3, and for those rows replace the contents of column 4 with column 3.
That may not be exactly what
2 matches
Mail list logo