Dataframe: code filters and return values

Needs some more robustness, eg if column to return value from name is
contained in filters