Вариант без регулярного выражения Ответ Романа Перехреста :
Создание демонстрационных данных:
with open("data.csv","w") as f:
f.write(f"""question answer
what is your name i am maxi
are you happy yes i am
what you do i am a student
""")
for i in range(10): # 30some more lines
f.write(f"""what is your name i am maxi
are you happy yes i am
what you do i am a student
""")
Данные процесса:
with open('data.csv', 'r') as f:
next(f) # skip header
skipped = 0
for number, line in enumerate(f,1):
if line.strip():
a,b = line.split(" ",1) # split at 2 spaces
print(f"{number-skipped}. {a.strip()}, {b.strip()}.")
else:
skipped += 1
if number == 10: # reduced to 10 due to output lenght
break
Вывод:
1. what is your name, i am maxi.
2. are you happy, yes i am.
3. what you do, i am a student.
4. what is your name, i am maxi.
5. are you happy, yes i am.
6. what you do, i am a student.
7. what is your name, i am maxi.
8. are you happy, yes i am.
9. what you do, i am a student.
10. what is your name, i am maxi.
Это должно даже корректно обрабатывать пустые строки в ваших данных.