Gets number of partitions of a Spark DataFrame

Gets number of partitions of a Spark DataFrame

sdf_num_partitions(x)

Arguments

x

A spark_connection, ml_pipeline, or a tbl_spark.