how to get non repeated values in sqlalchemy code example Example: how to count special values in data in python df['sex'].value_counts(normalize=True)