I need to get sum of positive values as one value and sum of negative values as one values of a column in dataframe. for eg:-
date | amount
2021-09-02 | 98.3
2021-08-25 | -23.4
2021-08-14 | 34.57
2021-07-30 | -87.9
then i need (98.3+34.57) and (-23.4-87.9) as output