invest python pandas dataframe filter investment klipy (1453)