Spaces:
Runtime error
Runtime error
File size: 352 Bytes
abf8c49 |
1 2 3 4 5 6 7 8 9 10 11 |
import argparse
import pandas as pd
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument("inputfile")
parser.add_argument("outputfile")
args = parser.parse_args()
df = pd.read_csv(args.inputfile, encoding='utf8', keep_default_na=False, sep='\t')
df.to_csv(outputfile, index=False, sep=',') |