temporal_means function

Computes temporal empirical means using a dataframe or a stars object.