python dataframe check if value is integer