Quantcast
Channel: Active questions tagged row - Stack Overflow
Viewing all articles
Browse latest Browse all 447

How to delete rows (NOT columns) in a csv file

$
0
0

I am trying to delete a particular row (NOT a column) in a csv file for a class project. When I deleted columns I put:

r=row r[22], r[21]# and so on

So how do I specify that I want to delete rows? I am working with census data and want to get rid of that extra row of headers that are always in census tables.Thank you for any help.


Viewing all articles
Browse latest Browse all 447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>