invest python pandas dataframe filter investment Klip (1453)