Pandas value_counts(normalize=True) fails when an extension datatype is used. For example, when creating an int8 Series containing pd.NA would typically use Int8 extension datatype but an error occurs: AttributeError: 'IntegerArray' object has no attribute 'sum'. What's the workaround?
pd.Series([1,pd.NA],dtype='Int8').value_counts(normalize=True)