rx/core/observablebase.py
def max_by(self, key_mapper, comparer=None) -> 'ObservableBase':
        """Returns the elements in an observable sequence with the maximum
        key value according to the specified comparer.

        Example
        res = source.max_by(lambda x: x.value)
        res = source.max_by(lambda x: x.value, lambda x, y: x - y)

        Keyword arguments:
        key_mapper -- {Function} Key mapper function.
        comparer -- {Function} [Optional] Comparer used to compare key values.

        Returns an observable {Observable} sequence containing a list of zero
        or more elements that have a maximum key value.
        """
        from ..operators.observable.maxby import max_by
        return max_by(self, key_mapper, comparer)
Returns the elements in an observable sequence with the maximum
        key value according to the specified comparer.

        Example
        res = source.max_by(lambda x: x.value)
        res = source.max_by(lambda x: x.value, lambda x, y: x - y)

        Keyword arguments:
        key_mapper -- {Function} Key mapper function.
        comparer -- {Function} [Optional] Comparer used to compare key values.

        Returns an observable {Observable} sequence containing a list of zero
        or more elements that have a maximum key value.
        
Returns the elements in an observable sequence with the maximum
key value according to the specified comparer.



Keyword arguments:
key_mapper -- {Function} Key mapper function.
comparer -- {Function} [Optional] Comparer used to compare key values.

Returns an observable {Observable} sequence containing a list of zero
or more elements that have a maximum key value.
Returns the elements in an observable sequence with the maximum key value according to the specified comparer . Keyword arguments : key_mapper -- { Function } Key mapper function . comparer -- { Function } [ Optional ] Comparer used to compare key values . Returns an observable { Observable } sequence containing a list of zero or more elements that have a maximum key value .
def max_by(self, key_mapper, comparer=None) -> 'ObservableBase':
        from ..operators.observable.maxby import max_by
        return max_by(self, key_mapper, comparer)
def max_by ( self , key_mapper , comparer = None ) -> 'ObservableBase' : from . . operators . observable . maxby import max_by return max_by ( self , key_mapper , comparer )
Returns the elements in an observable sequence with the maximum
key value according to the specified comparer.
Returns the elements in an observable sequence with the maximum key value according to the specified comparer .
"""Returns the elements in an observable sequence with the maximum
        key value according to the specified comparer.

        Example
        res = source.max_by(lambda x: x.value)
        res = source.max_by(lambda x: x.value, lambda x, y: x - y)

        Keyword arguments:
        key_mapper -- {Function} Key mapper function.
        comparer -- {Function} [Optional] Comparer used to compare key values.

        Returns an observable {Observable} sequence containing a list of zero
        or more elements that have a maximum key value.
        """
self
key_mapper
comparer