请用Python生成一个格式化的日期表格，表格中每列为当月的每一天的日期，并为每个日期编号1-31，行与行之间用空行分隔，确保每行有且仅有一个日期编号，输出按段落分隔
user
```
import calendar

def generate_date_table(year, month):
    cal = calendar.monthcalendar(year, month)
    date_table = []
    for week in cal:
        week_dates = []
        for day in week:
            if day != 0:
                week_dates.append(f"{day:02}")
        while len(week_dates) < 7:
            week_dates.append("  ")
        date_table.append(" ".join(week_dates))
    return "\n\n".join(date_table)

year = 2023
month = 10
print(generate_date_table(year, month))
```

```plaintext
02 03 04 05 06 07 08

09 10 11 12 13 14 15

16 17 18 19 20 21 22

23 24 25 26 27 28 29

30 31  1  2  3  4  5
```
assistant