This question already has an answer here:
I am apply log-normalization to my non-normal data. However, when I apply log-normalization, the 0 values is converted into
inf, which makes it impossible to apply some basic statistics on the data (e.g., correlation). Therefore, I add the score of 1 to all data values. However, I am afraid this is not a very valid approach. I wonder what is a common approach to deal with such situations.