invest python pandas dataframe filter investment Klipy (1453)