But what if the mean and median are sparsely spaced and you'd like to change several column at once. Can lamda be modified in hat respect?
@ajaytomar3694 жыл бұрын
I think it doesn't matter if they are sparsely spaced or densely spaced. This is just a workaround to fill na values and there no other options other than this. Replacing with the mean is far better than removing na vales. Also, you can trim the mean from both sides to get a weighted mean kind of value..