<|im_start|>user
How do I see how large a dataset is in Spark?<|im_end|>
<|im_start|>assistant
You can find the number of records in a DataFrame or RDD using the `count()` method. If you want to see how large it is in terms of bytes, you can find this information on the Spark UI.<|im_end|>
