How To Handle Empty Dataframe In Python