Keyword search between two DataFrames using python pandas
问题 Hi I have two DataFrames like below DF1 Alpha | Numeric | Special and, or | 1,2,3,4,5| @,$,& and DF2 with single column Content | boy or girl | school @ morn| I want to search if anyone of the column in DF1 has anyone of the keyword in content column of DF2 and the output should be in a new DF output_DF output_column| Alpha | Special | someone help me with this 回答1: Solution is s bit complicated, because for multiple match (row 2) need only matched first column df1 : df1 = pd.DataFrame({