Hi@akhtar,
To convert pyspark dataframe into pandas dataframe, you have to use this below given command.
$ pandas_df = spark_df.select("*").toPandas()
Hope this will help you.
To know more about Pyspark, it's recommended that you join Pyspark course online.
Thanks.