Skip to content

Instantly share code, notes, and snippets.



Created Jan 20, 2019
What would you like to do?
from pyspark.sql.functions import isnan, when, count, col[count(when(isnan(c), c)).alias(c) for c in train_df.columns]).show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment