I'm trying rename file in my code

```
from pyspark.sql import *
from IPython.core.display import display, HTML

display(HTML("<style>.container { width:100% !important; }</style>"))

spark = SparkSession \
    .builder \
    .appName("Python Spark SQL basic example") \
    .config("spark.some.config.option") \
    .getOrCreate()

df = spark.read.csv("../work/data2/*.csv", inferSchema=True, header=False)

df.createOrReplaceTempView("iris")
result = spark.sql("select * from iris where _c1 =2 order by _c0 ")
summary=result.describe(['_c10'])
summary.show()
summary.coalesce(1).write.csv("202003/data1_0331.csv")

```

.write.csv("202003/data1\_0331.csv") in this code my spark creates everything folder

Result

```
"202003/data1_0331.csv/part-00000-3afd3298-a186-4289-8ba3-3bf55d27953f-c000.csv

```

The result i want is

```
202003/data1_0331.csv

```

How do I get the results I want?
I saw a similar solution here like this write.csv(summary,file="data1\_0331")
but i got this error

```
cannot resolve '`0`' given input columns

```