Dataframe Logic Tree

Based On Mathematics Formula and Conditional Sentence