I have 2 DataFrames as shown below:
df1:
OSIED    geometry
257005   POLYGON ((311852.712 178933.993, 312106.023 17...
017049   POLYGON ((272943.107 137755.159, 272647.627 13...
017032   POLYGON ((276637.425 146141.397, 276601.509 14.
df2:
small_area Median_BER
2570059001   212.9
017049002    212.9
217112003    212.9
I need to search for df1.col1 in df2.col2 using "contains" logic and if it matches, get all the columns from both dataframes:
 osied   geometry              small_area   ber
 257005  POLYGON ((311852.71   2570059001   212.9
I am new to python, which function which does this? isin function isn't useful here.
 
     
    