invest python pandas dataframe filter investment Clip (1453)