# https://www.globalsino.com/ICs/page4853.html
# skip empty rows while reading a csv file


import pandas as pd
 
MyFileName = (r'C:\GlobalSino\images\TestImages\Excel\MyTest_x_y_with_empty_rows.csv')

MyReader = pd.read_csv(open(MyFileName, "rb"))

MyReader = MyReader.dropna()

#to reset the index
MyReader = MyReader.reset_index(drop=True)
 
print(MyReader)


