Field 'tags' is backed by an array but the associated Spark Schema does not reflect this

Hi,
I am trying to read the data from index in ES using pyspark. I am able to load the data into the dataframe. Used this code
reader = spark.read.format("es").option("es.read.metadata", True).option("es.port","9200").option("es.nodes", "http://xx.x.x.xxx").option("es.read.field.as.array.include","XRAM,XCPU,count,message")

df = reader.load("webserverstats")

df.printSchema()

. Its schema is there. Later on this error occured.
new_df=df.toPandas()
new_df.show()
.

Could anybody help resolve this issue.

Thanks in advance.