Créer la table Pyspark SQL

df.createOrReplaceTempView("tableA")
spark.sql("SELECT count(*) from tableA").show()
Sore Stork