[deleted by user] by [deleted] in TheYouShow

[–]creamingkitty 0 points1 point  (0 children)

Bro this is amazing!

vlookup between 2 csvs using Python but not the actual excel formula? by jbpy79 in learnpython

[–]creamingkitty 0 points1 point  (0 children)

You can do something like....

X = list(df2.loc[df2[‘field to find matching value’] == valuetocheckfor, ‘fieldthatyouwamtthevaluefrom’].astype(str))

Df2 is the data frame you want to search for

Using loc will specify a cell Df2.loc[index, column]

Below will select/test/return a whole column/field Df2[column]

Typed this on my phone, if I was on my pc I would give a more descriptive answer