How to determine if column is non-zero and all-zero
Hi all, I have a data set that has an all-zero column. However, its column value is not consistent in having an all-zero value. How can I determine if it has an all-zero and when it has normal values? I just need it to create an if condition.
Expected output:if Col1 is all-zero => print ("Col1 is all zero"), print ("Col1 is non-zero);