from typing import Sequence


def most_popular_number_pythonic(array: Sequence[int]) -> int:
    """Returns most frequent number from an array.

    It is the most pythonic way.

    Examples:
        >>> assert most_popular_number_pythonic([10, 10, 100, 10, 2, 2, 1]) == 10
    """
    return max(set(array), key=array.count)