Python Check Empty Dataframe R