import pandas as pd
A=pd.read_csv("C:/Users/amulya/Desktop/graves lab/main_now.csv", index_col=False, header=None)
DATA1=pd.DataFrame(A)
DATA1[0]
B=pd.read_csv("C:/Users/amulya/Desktop/graves lab/words.csv", index_col=False, header=None)
DATA2=pd.DataFrame(B)
DATA2[0]
for xrow in range (1,len(DATA1)):
for yrow in range (1,len(DATA2)):
if DATA2== DATA1:
print(DATA1[3])
"In column 1 of DATA1 file there is numbers from 1-3000, and in column 1 of DATA2 there 465 random numbers . I want to search these numbers in DATA1 file and print rest of the columns"