rx/core/observablebase.py
def map(self,
            mapper: Mapper = None,
            mapper_indexed: MapperIndexed = None
           ) -> 'ObservableBase':
        """Project each element of an observable sequence into a new form
        by incorporating the element's index.

        Example:
            >>> source.map(lambda value, index: value * value + index)

        Args:
            mapper: A transform function to apply to each source element;
                the second parameter of the function represents the index
                of the source element
            mapper_indexed: A transform function to apply to each source
                element; the second parameter of the function represents
                the index of the source element.

        Returns:
            An observable sequence whose elements are the result of
            invoking the transform function on each element of the
            source.
        """

        from ..operators.observable.map import map as _map
        return ObservableBase(_map(mapper, mapper_indexed)(self))
Project each element of an observable sequence into a new form
        by incorporating the element's index.

        Example:
            >>> source.map(lambda value, index: value * value + index)

        Args:
            mapper: A transform function to apply to each source element;
                the second parameter of the function represents the index
                of the source element
            mapper_indexed: A transform function to apply to each source
                element; the second parameter of the function represents
                the index of the source element.

        Returns:
            An observable sequence whose elements are the result of
            invoking the transform function on each element of the
            source.
        
Project each element of an observable sequence into a new form
by incorporating the element's index.
Project each element of an observable sequence into a new form by incorporating the element ' s index .
def map(self,
            mapper: Mapper = None,
            mapper_indexed: MapperIndexed = None
           ) -> 'ObservableBase':
        from ..operators.observable.map import map as _map
        return ObservableBase(_map(mapper, mapper_indexed)(self))
def map ( self , mapper : Mapper = None , mapper_indexed : MapperIndexed = None ) -> 'ObservableBase' : from . . operators . observable . map import map as _map return ObservableBase ( _map ( mapper , mapper_indexed ) ( self ) )
Project each element of an observable sequence into a new form
by incorporating the element's index.
Project each element of an observable sequence into a new form by incorporating the element ' s index .
"""Project each element of an observable sequence into a new form
        by incorporating the element's index.

        Example:
            >>> source.map(lambda value, index: value * value + index)

        Args:
            mapper: A transform function to apply to each source element;
                the second parameter of the function represents the index
                of the source element
            mapper_indexed: A transform function to apply to each source
                element; the second parameter of the function represents
                the index of the source element.

        Returns:
            An observable sequence whose elements are the result of
            invoking the transform function on each element of the
            source.
        """
An observable sequence whose elements are the result of
invoking the transform function on each element of the
source.
An observable sequence whose elements are the result of invoking the transform function on each element of the source .
self
mapper
Mapper
A transform function to apply to each source element;
the second parameter of the function represents the index
of the source element
A transform function to apply to each source element ; the second parameter of the function represents the index of the source element
mapper_indexed
MapperIndexed
A transform function to apply to each source
element; the second parameter of the function represents
the index of the source element.
A transform function to apply to each source element ; the second parameter of the function represents the index of the source element .
examples
None