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