csv writer python line contains null byte code example
Example: _csv.Error: line contains NULL byte
#you may have null byte in csv , you can remove on linux with this command
sed 's/\x0/ /g' original_file.csv > fixed_file.csv
#you may have null byte in csv , you can remove on linux with this command
sed 's/\x0/ /g' original_file.csv > fixed_file.csv