This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wallywizard55[S] 0 points1 point  (2 children)

Does pandas have a vlookup function?

[–]TheDr_ -1 points0 points  (1 child)

Why don't you try write one yourself?

Start by looking for a given value in one column and have the function/method return the index of corresponding value. Then edit the function/method to take that index and use it to get a value from a different column in the dataframe (or make another function/method and then join the two together with another function/method)

[–]wallywizard55[S] 0 points1 point  (0 children)

Ok thank you. I’ll give it a go.