Try to search your question here, if you can't find : Ask Any Question Now ?

Total zero count across all columns in a pyspark dataframe

HomeCategory: stackoverflowTotal zero count across all columns in a pyspark dataframe
Avatarjohn asked 5 months ago

I need to find the percentage of zero across all columns in a pyspark dataframe. How to find the count of zero across each columns in the dataframe?

P.S: I have tried converting the dataframe into a pandas dataframe and used value_counts. But inferring it’s observation is not possible for a large dataset.

1 Answers
Best Answer
AvatarMatthias answered 5 months ago
Your Answer

12 + 4 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com