Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns True if the collect and take methods can be run locally (without any Spark executors).
Syntax
isLocal()
Returns
bool
Examples
df = spark.sql("SHOW TABLES")
df.isLocal()
# True