Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to filter csv file by columns

awk -F '","'  'BEGIN {OFS=","} { if (toupper($5) == "STRING 1")  print }' file1.csv > file2.csv
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #filter #csv #file #columns
ADD COMMENT
Topic
Name
1+9 =