DropNullColumns.__init__(pct_null_threshold=1.0, random_seed=0, **kwargs)[source]

Initalizes an transformer to drop features whose percentage of NaN values exceeds a specified threshold.

  • pct_null_threshold (float) – The percentage of NaN values in an input feature to drop. Must be a value between [0, 1] inclusive. If equal to 0.0, will drop columns with any null values. If equal to 1.0, will drop columns with all null values. Defaults to 0.95.

  • random_seed (int) – Seed for the random number generator. Defaults to 0.