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
Dear all,
I have had difficulties copying the word "alcohol" in the "vehicle" column
to replace the string in the column "accident_type". It is a huge list but
I have prepared a workable and simple example below and the desired
output. I am sure you guys can give me some advice on how to deal wit
3 matches
Mail list logo