# https://www.globalsino.com/ICs/page4853.html
# Merge two csv files

import pandas as pd
 
MyFileNameB = (r'C:\GlobalSino\ICs\ExampleFiledUsedINtestingPython\CityDateB.csv')
MyFileNameC = (r'C:\GlobalSino\ICs\ExampleFiledUsedINtestingPython\CityDateC.csv')

MyReaderB = pd.read_csv(open(MyFileNameB, "rb"))
MyReaderC = pd.read_csv(open(MyFileNameC, "rb"))
print(MyReaderB)
print(MyReaderC)

After_merged = pd.merge(MyReaderB, MyReaderC, left_index=True, right_index=True)

After_merged.to_csv(r'C:\GlobalSino\ICs\ExampleFiledUsedINtestingPython\After_Merged.csv')



