.. _l-staticmethods: Static Methods ============== .. contents:: :local: :depth: 1 Summary +++++++ +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | staticmethod | class parent | truncated documentation | +====================================================================================================================================================+====================+======================================================================================================================+ | :meth:`add_header_if_not_present ` | TableFormula | the function checks if the first line contains the column in header otherwise, it modifies the file and add them ... | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`bootstrap ` | TableFormula | return a confidence interval for a statistics | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`combine_into_string ` | ElectionResults | Combines two matrices into one before displaying it. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`convert_st_date_to_datetime ` | CopyFileForFtp | | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`correlation_bicolumn ` | TableFormula | assume values is a matrix with two columns | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`create_folders_from_dataframe ` | ProjectsRepository | Creates a series of folders for groups of students. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`dichotomy_find ` | LatexFile | find the greatest position which contains a value below ``value`` | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`find_e ` | HomomorphicInt | Finds one exposant for the :epkg:`RSA` encryption. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`get_regex ` | ProjectsRepository | Retrieves data from file ``suivi.rst`` using a regular expression. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`lcm ` | HomomorphicInt | Computes the least common multiple (:epkg:`PPCM`). | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`match_mail ` | ProjectsRepository | Tries to match a name among a list of mails. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`match_mails ` | ProjectsRepository | Tries to match a series of names among a list of mails. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`max_number_sequences ` | DiceStraight | Returns the maximum number of sequences given the number of dices. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`min_max_mean_std ` | ElectionResults | returns the mean standard deviation, bounds of the confidence interval | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`parallel ` | ParallelThread | Parallélise l'appel à la fonction ``f`` sur une liste de paramètres. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`parse ` | DiceStraight | Reads the content of a problem Returns a list of :class:`DiceStraight`. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`pgcd ` | HomomorphicInt | Computes the :epkg:`PGCD`. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`process_line ` | Game2048 | Moves numbers inside a vector whether this vector represents a row or a column. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`random_split_file ` | TableFormula | split a file in nb buckets by random(lines are sent to a random file as they come) | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`random_student ` | Student | Returns a student with random answers. | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`ratio ` | TableFormula | return a ratio between two real values or an empty string if the denominateur is null | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`save_multiple_as_excel ` | TableFormula | saves multiple table in one Excel file | +----------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------------------------------------------------+