The conversation between human and AI assistant.
[|Human|] How do I see how large a dataset is in Spark?
[|AI|] 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.
[|Human|] 
How do I see how large a dataset is in Spark?