I have a dataframe that has 6 columns (A-F) and over 200K rows. I would like to look up a string in a column B (named word), and find its corresponding value in another column D(tf value), same row, please.
For example I want the output to be:
Word: encryption, tf: 0.009041.
I rather not use a loop, but if needed I am open to suggestions, as the df is large. Thank you very much for your time.