i want if the the result of this command is >1 item then delete row with the zero.
list_count = df.groupby(['id_client', 'date'])['count'].apply(list).reset_index()
example of result the code above
My original df should have:
908 01/2020 0
908 01/2020 35
907 01/2020 0
907 01/2020 37
909 01/2020 50
910 01/2020 0
result of the above code line
908 01/2020 [0, 35]
907 01/2020 [0, 37]
909 01/2020 50
910 01/2020 0
expected output
908 01/2020 35
907 01/2020 37
909 01/2020 50
910 01/2020 0