I have a data frame that has some cells with missing data that has inf instead. e.g:
a b c
2 3 4
2 3 inf
I want this result:
2 3 4
Is there a way to use the mean function or find the averages of the entire data frame.