Can you suggest a method to remove records from csv file, manually. I have a csv file with many records, I need to delete unwanted records. Is there any simplest method to remove the unwanted records.
2 Answers
manually:
- open the file in your desired text editor, i.e. notepad
- delete the unwanted records (lines)
- save the file
semi automatically: get a good text editor, notepad++, pspad, ... use the built in search and replace function, if you can provide an example string, or regular expression that can identify the unwanted records..
automatically: describe how an unwanted record differs from a wanted record. either by string comparision, regex, count of coloumns in row, or... put that logic into a script, like python, and have that run through the file. SO question on how to do that