added a quick first valid date function for dictionaries and DataFrames