ENH this attribute should be an integer