I need to create a binary variable in main_df conditional on the closest mutual dates from ind_df.
main_df
ind_df
main=spark.createDataFrame([("J1