pyspark select first row code example Example: select first row first column pyspark industry_count.first()[0]