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