I did spend few hours on Google but was not able to find solution for my issue.
I'm receiving dataframe like this:
col1 col2 col3
2022-03-01 234 0
2022-03-01 342 67
2022-03-01 0 0
2022-03-01 0 23
I need to divide Col2 on Col3 and result should look like this:
col1 col4
2022-03-01 0
2022-03-01 5.1
2022-03-01 0
2022-03-01 0
How I can do that ??
With functions like divide or / I'm always getting error: decimal./DivizionByZero
I did try to find any solution but in Google there is always basic stuff, like divide just number on number, not on Zero etc.
Thank you,