Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to replace a column having null values with proper values in dataframes

how to replace a column having null values with proper values in dataframes

New Contributor
 
1 REPLY 1
Highlighted

Re: how to replace a column having null values with proper values in dataframes

Super Collaborator

maybe you can provide more details on your actual question?

To identify the null (actually missing) value in dataframe: isNull()

To replace missing values with zero: fillna(0), you can of course set any other value as well

Don't have an account?
Coming from Hortonworks? Activate your account here