Use df.empty to check if df is emptyU

Not using the 'not' operator. Seems deprecated in pandas 0.13.0