'Dropping NA-values with a MAX threshold and not MIN threshold
Is there any way to remove columns from a dataframe that has LESS NA-values than for instance 200?
So instead of df.dropna(threshold = 200)
we want the opposite where columns with more NA values than 200 are still in the dataframe.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|