CSV file related. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

CSV file related.

I have file of many columns. I want to add column header names like 1,2 1,3 1,4......1,128 2,3 2,4..........123,124.......how to automate it?

21st Sep 2021, 4:53 AM
Sourya Banerjee
Sourya Banerjee - avatar
4 ответов
+ 2
I didn't get what your question is exactly about? - creating that numbers automatically? - prepending a line to a file? - Writing comma in a cell? - All of them? - Somthing else?
21st Sep 2021, 9:27 AM
Arsalan [Inactive]
Arsalan [Inactive] - avatar
+ 1
Why it started with 1.2 instead of 1.1? And why there are 2.3 2.4 etc.?
21st Sep 2021, 4:56 AM
Ipang
+ 1
It means distance between 1,2 as distance between 1,1 is not possible
21st Sep 2021, 5:07 AM
Sourya Banerjee
Sourya Banerjee - avatar
+ 1
What values are you saving in the file? I'm not getting what you mean by "distance between 1, 2" I suggest you to improve the thread's Description above. It is important to be clear about that in order to get people to understand better, and respond appropriately 👍
21st Sep 2021, 6:18 AM
Ipang