DataFrame.
sparkSession
Returns Spark session that created this DataFrame.
DataFrame
Examples
>>> df = spark.range(1) >>> type(df.sparkSession) <class 'pyspark.sql.session.SparkSession'>
previous
pyspark.sql.DataFrame.sortWithinPartitions
next
pyspark.sql.DataFrame.stat