I'm trying to join two dataframes but the values of the second keep turning into nulls:
joint = sdf.join(k, "date", how='left').select(sdf.date, sdf.Res, sdf.Ind, k.gen.cast(IntegerType())).orderBy('date')
output:  | 1/1/2001 |  4103 | 9223 | null |
 
    