.. _l-properties: Properties ========== .. contents:: :local: :depth: 1 Summary +++++++ +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | property | class parent | truncated documentation | +====================================================================================================================+============================+=============================================================================================================================+ | :meth:`Groups ` | ProjectsRepository | Returns all available groups in the repository. | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`Level ` | ElectionResults | Returns the level (``département`` or ``canton``). | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`LevelCol ` | ElectionResults | Returns the column associated to the level (their name depends on the level). | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`Location ` | ProjectsRepository | | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`T0 ` | ElectionResults | Returns the dataframe for the first round. | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`T1 ` | ElectionResults | Returns the dataframe for the second round. | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`WeightsNorm ` | ElectionResults | Returns the proportion of voters for each regions. | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`Year ` | ElectionResults | Returns the year. | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_repr_html_ ` | LassoRandomForestRegressor | HTML representation of estimator. This is redundant with the logic of `_repr_mimebundle_`. The latter should ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`cross_validation_lock ` | CustomMagics | A contextmanager for running a block with our cross validation lock set to True. At the end of the block, ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`daemon ` | FlaskInThread | A boolean value indicating whether this thread is a daemon thread. This must be set before start() is called, otherwise ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`daemon ` | ParallelThread | A boolean value indicating whether this thread is a daemon thread. This must be set before start() is called, otherwise ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`dataframe ` | TableFormula | creates a pandas dataframe | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`ident ` | FlaskInThread | Thread identifier of this thread or None if it has not been started. This is a nonzero integer. See the get_ident() ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`ident ` | ParallelThread | Thread identifier of this thread or None if it has not been started. This is a nonzero integer. See the get_ident() ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`json ` | TableFormula | returns a json format | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`name ` | FlaskInThread | A string used for identification purposes only. It has no semantics. Multiple threads may be given the same name. ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`name ` | ParallelThread | A string used for identification purposes only. It has no semantics. Multiple threads may be given the same name. ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`native_id ` | FlaskInThread | Native integral thread ID of this thread, or None if it has not been started. This is a non-negative integer. ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`native_id ` | ParallelThread | Native integral thread ID of this thread, or None if it has not been started. This is a non-negative integer. ... | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`np_array ` | TableFormula | returns the values as a numpy array | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`np_matrix ` | TableFormula | returns the values as a numpy matrix | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`shape ` | TableFormula | returns the size(nb rows, nb columns) | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+ | :meth:`size ` | TableFormula | returns the size(nb rows, nb columns) | +--------------------------------------------------------------------------------------------------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+