DataFrame.
isLocal
Returns True if the collect() and take() methods can be run locally (without any Spark executors).
True
collect()
take()
previous
pyspark.sql.DataFrame.isEmpty
next
pyspark.sql.DataFrame.isStreaming