snowflake.snowpark.DataFrameNaFunctions¶
- class snowflake.snowpark.DataFrameNaFunctions(df: DataFrame)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/dataframe_na_functions.py#L60-L577)¶
Bases:
object
Provides functions for handling missing values in a
DataFrame
.Methods
drop
([how, thresh, subset])Returns a new DataFrame that excludes all rows containing fewer than a specified number of non-null and non-NaN values in the specified columns.
fill
(value[, subset])Returns a new DataFrame that replaces all null and NaN values in the specified columns with the values provided.
replace
(to_replace[, value, subset])Returns a new DataFrame that replaces values in the specified columns.