+ 1

How to extract the element of 2nd column of 5th row from a CSV file in python or Linux? I need both.

15th Sep 2021, 4:58 AM
Sourya Banerjee
Sourya Banerjee - avatar
2 Respostas
0
Python or Linux? You realise that one is a programming language and one is an operating system, right? In python use the pandas module. You'll have to make use of: read_csv iloc Take the Python for Data Science course if you don't know how to do it.
15th Sep 2021, 5:05 AM
Simon Sauter
Simon Sauter - avatar
- 1
You can use csv module in PYTHON or you can write your own. It is very easy. You just need to read CSV file and split it by (\n) and then split every element by comma (,) Almost every Linux distribution has preinstalled PYTHON interpreter. So you doesn't have to write for Linux separately using bash
15th Sep 2021, 7:03 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar