Answers for "delete add replace conttent from csv by using python"

0

delete add replace conttent from csv by using python

import csv

original = open("original.csv", 'r')
original = ''.join([i for i in original]) \
    .replace("C-F", "F-C") \
    .replace("G-F", "F-G")
x = open("edited.csv", "w")
x.writelines(original)
x.close()
Posted by: Guest on March-24-2021

Code answers related to "delete add replace conttent from csv by using python"

Python Answers by Framework

Browse Popular Code Answers by Language