cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Checking that spark dataframe is empty

Hubert_Dudek1
Esteemed Contributor III

#databricks #spark 3.3 has introduced a simple yet powerful isEmpty() function for DataFrames. Gone are the days of using count() to check for empty DataFrames โ€” now it'**bleep** as easy as calling df.isEmpty().

Screenshot 2023-08-29 143021.png

1 REPLY 1

jose_gonzalez
Moderator
Moderator

Thank you for sharing this @Hubert_Dudek1 !!!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.