I have a set of csv files that I am trying to concat. I am having issues that the concatenated file does not apply the comma separators to the content. Given below is the code:
##Location where the csv files are located
updatedfiles = glob.glob(LOCAL_PATH2 + "/*.csv")
#Applying comma separator to the concatenated output
df_v1 = [pd.read_csv(fp, sep=',', delim_whitespace=True).assign(FileName=os.path.basename(fp)) for fp in updatedfiles]
Could anyone guide me on this. Thanks