.. _l-functions: Functions ========= .. contents:: :local: :depth: 1 Summary +++++++ +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | function | class parent | truncated documentation | +=================================================================================================================================================================================+==============+==================================================================================================================================================================================================================================================+ | :func:AUC  | | Computes the AUC _. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:Arrow_Hurwicz  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:CasseVigenere  | | Appelle les deux fonctions :func:DecodeVigenereLongueurCle et :func:DecodeVigenereCle pour casser le code de Vigenère. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:CodeVigenere  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:DecodeVigenere  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:DecodeVigenereCle  | | Détermine la cle du message code, connaissant sa longueur, on suppose que la lettre E est la lettre la plus fréquente ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:DecodeVigenereLongueurCle  | | Cette fonction determine la longueur de la clé, elle repère les groupes de trois lettres qui se répète dans le message ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:Element_writexml  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:Exception2Response  | | convert an exception into plain text and display the stack trace | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:FixIssuesWithAccent  | | voir http://migo.sixbit.org/more/html-entities.html http://www.thesauruslex.com/typo/eng/enghtml.htm | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:PGCD  | | Détermine le PGCD de deux entiers. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:Text2Response  | | convert a text into plain text | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:Text_writexml  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:_delete_edge  | | Removes an edge from the graph. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:_explore_path  | | Explores an eulerian path, remove used edges from edges_from. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:_get_code  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:_get_selenium_browser  | | Returns the associated driver with some custom settings. The function automatically gets chromedriver if not present ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:_setup_hook  | | function executed before running the unit tests and the documentation, does nothing | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:_write_data  | | Writes datachars to writer and deals with < > | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:a_test_notebook_runner  | | Runs and tests a specific list of notebooks. The function raises an exception if the execution fails. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:added  | | Retrieves added.zip. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:affiche_solution  | | Retourne une chaîne de caractères qui représente la solution. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:ajoute_vecteur  | | Ajoute deux vecteurs entre eux. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:amelioration_chemin  | | Amélioration du chemin par un algorithme simple, utilise des retournements de taille au plus *taille*, traite les ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:american_cities  | | Computes the :epkg:TSP for american cities. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:any_local_file  | | Returns a local data file, reads its content or returns its content. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:anyfile  | | Returns any file in sub folder data_1a _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:anyfile  | | Returns any file in sub folder data_2a _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:anyfile  | | Returns any file in sub folder data_sql _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:anyfile  | | Returns any file in sub folder data_web _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:anyzip  | | Any zip. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:apply_style  | | Supplied with an index this function applies the style using the format rules and returns a formatted verison of ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:arbre_poids_minimal  | | Construit l'arbre de poids minimal, retourne une liste de listes, chaque sous-liste associée à une ville contient la ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:avoid_overlapping_dates  | | Avoids overlapping dates by calling method :epkg:autofmt_xdate. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:bellman  | | Implémente l'algorithme de Bellman-Ford _. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:besancon_df  | | Retrieves Besancon.df.zip. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:build_bloc_keywords  | | builds the keywords bloc | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:build_bloc_months  | | builds the months bloc (we assume the page name is YYYY-MM-DD-something-.html | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:build_diff_image  | | Builds an image to show a difference between two lists, we assume these list contain distinct items. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:build_mailing_list  | | Infers mails from a list of names. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:build_process_all_pages  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:change_legend_location  | | Changes the location of the legend. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:check_encoding  | | check the encoding of a file (ASCII here), read the file, it does not return anything | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:checksum_md5  | | computes MD5 for a file | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:chiffre_barre_carre  | | Look into every number in sub square *i, j*, if a number in it s[i][k] is not null, | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:chiffre_barre_colonne  | | Look into every number in column *j*, if the number in column *k* s[i][k] is not null, | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:chiffre_barre_ligne  | | Look into every number in line *i*, if the number in column *k* s[i][k] is not null, | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:circuit_eulerien  | | Définit un circuit eulérien, villes contient la liste des villes, tandis que arbre est une liste de listes, arbre[i] ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:circuit_hamiltonien  | | Extrait un circuit hamiltonien depuis un circuit eulérien, passe par tous les sommets une et une seule fois. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:classify_post  | | returns a list of keywords as a classification | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:cleanFileFromtohtmlreplace  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:clean_function_1a  | | Function which cleans cells when unittesting notebooks 1A. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:close_all  | | Closes every graph with :epkg:matplotlib. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:cmdLine  | | This is the function that handles command line mode | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:code_vigenere  | | Crypte et décrypte le code de Vigenère sachant la clé connue. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:collate_images  | | Collates all images horizontally in one image (if not None --> image name). | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:commentaire_accentues  | | L'aide de cette fonction contient assuréments des accents. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:compile_cython_single_script  | | This function considers a script .pyx, writes the proper setup file, and compiles it. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:compte  | | Compte le nombre d'occurrences de chaque élément d'une liste. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:connected_components  | | Computes the connected components. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:construit_liste_neurones  | | Place les neurones sur l'écran, il y a autant de neurones que de villes, le paramètre villes est la liste des villes. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:construit_matrice_carree  | | Cette fonction construit une matrice carrée remplie de zéro sous la forme d'une liste de listes. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:construit_ville  | | Tire aléatoirement *n* villes dans un carré x * y, on choisit ces villes de sorte qu'elles ne soient pas trop proches. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:construit_ville  | | Tire aléatoirement *n* villes dans un carrée x * y, on choisit ces villes de sortent qu'elles ne soient pas trop ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:content_as_binary  | | Overloads function content_as_finary _ ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:contrainte  | | C dans :func:Arrow_Hurwicz | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:convert_image  | | Converts an image or a list of images into a different format. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:convert_short_latex_into_png  | | Convert a short latex script into an image. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:copy_data_file  | | Copies a data file from a notebook folder to the current folder. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:create_application  | | Creates a :epkg:Flask application. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:create_folders_from_dataframe  | | Creates a series of folders for groups of students. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:data_cpt_ENSAE_2016_11  | | Returns the data for the competition :epkg:Python 2A ENSAE 2016, located on github ensae_competition_2016.zip _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:data_cpt_ENSAE_2016_11_blind_set  | | Returns the evaluation set for the competition :epkg:Python 2A ENSAE 2016. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:data_shape_files  | | Downloads shape files. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:deal_flow_espace_vert_2018_2019  | | Retrieves deal_flow_espaces_verts_2018_2019.zip. The sources compiles two files from pages: | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:decrypt_data  | | Decrypts a file. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:default_jenkins_jobs  | | Default list of :epkg:Jenkins jobs. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:deplace_neurone  | | Déplace le neurone de plus proche de la ville *n*, déplace ses voisins. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:dessin_arete_zone  | | Retourne une liste de listes de listes, res[i][j] est une liste des arêtes passant près de la zone (x,y) = [i][j], ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:df2list  | | Converts a dataframe into a list of lists. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:df_equal  | | Compares two dataframe and tells if they are equal. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:df_to_clipboard  | | Copies a dataframe as *csv* text into the clipboard. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:dfs2excel  | | Aggrège plusieurs DataFrame dans un seul fichiers excel | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:dictionnaire_modifie_dans_la_boucle  | | Dictionnaires, listes modifiés dans la boucle qui les parcourt. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:difference_div  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display  | | affichage | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_arbre  | | dessine le graphe de poids minimal dꧩni par arbre | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_chemin  | | dessine le chemin à l'écran | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_line  | | Affiche une ligne à l'écran. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_masses  | | affichage de la corde à l'aide du module pyagame | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_neurone  | | Dessine les neurones à l'écran. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_person  | | display a person on a pygame screen | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_population  | | affichage | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_puzzle_girafe  | | affiche les pièces sur l'écran, en plus petit pour celles qui ne sont pas encore placées | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_puzzle_girafe_piece  | | affiche la pièce en tenant compte de sa position et de son orientation | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_ville  | | Dessine les villes à l'écran. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:display_ville  | | dessine les villes à l'écran | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:distance_euclidian  | | Calcule la distance entre deux villes. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:distance_euclidienne_carree  | | Calcule la distance euclidienne entre deux points. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:distance_haversine  | | Calcule la distance de Haversine Haversine formula _ | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:distance_paris  | | Distance euclidienne approchant la distance de Haversine (uniquement pour Paris). | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:dix_entiers_carre  | | fait la somme des dix premiers entiers au carré | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:donnees_enquete_2003_television  | | Time about marathons over cities and years See :func:ensae_teaching_cs.data.data1a.anyfile to directly download ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:download_from_url  | | downloads a file given a URL and stores it as binary file | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:draw_ellipse  | | Dessine une ellipse de centre *xc, yc*, de demi axe horizontal *a*, de demi-axe vertical b, l'ellipse a pour équation ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:draw_line  | | Trace une ligne entre les points de coordonnées *(x1,y1)* et *(x2,y2)*, aucune contrainte sur les coordonnées, retourne ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:dump_object  | | Sérialize un objet dans un stream ou un fichier. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:echange_position  | | Regarde si on ne peut pas déplacer un segment de longueur taille pour supprimer les arêtes les plus longues, au ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:echange_position_essai  | | Echange la place des villes ka et kb pour les placer entre les villes *i* et *i+1*, si inversion est True, on inverse ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:edit_distance  | | Computes the edit distance between two strings. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:empty_main_loop  | | Removes all events in the main loop, a mouse click make the program halt, another click makes it start again. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:encrypt_data  | | Encrypts a file. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:engines_default  | | Returns a dictionary with default values for a :epkg:Jenkins server. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:entier_grande_taille  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:enumerate_feedback  | | Sends feedback to students. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:enumerate_inspect_source_code  | | Counts groups extracted from source file. We assume all selected files can be opened as text files encoded in :epkg:utf-8 ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:enumerate_permutations  | | Enumère les permutations d'un ensemble de façon non récursive. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:enumerate_permutations_recursive  | | Enumère les permutations d'un ensemble de façon récursive. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:enumerate_regex_search  | | Cette fonction itère sur les différentes occurences d'une expression régulière. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:enumerate_send_email  | | Sends feedback to students. Sets mailbox to None to see what the first mail looks like before going through the ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:enumerate_speeches_from_elysees  | | Enumerates speeches from the :epkg:Elysees. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:equation_droite  | | retourne l'équation d'une droite passant par p1 et p2, ax + by + c = 0, retourne les coefficients a,b,c | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:euler_path  | | Computes an eulerian path. We assume every vertex has an even degree. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:eulerien_extension  | | Construit une extension eulérienne d'un graphe. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:evaluate_strategy  | | Applies method *best_move* until gameover starting from the current position. Repeats *ntries* times and the maximum ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:evaluation_droite  | | L'équation d'une droite est : ax + by + c, retourne la valeur de cette expression au point *p*. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:execute_notebooks  | | Executes a list of notebooks. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:execute_python_scripts  | | Retrieves all :epkg:python scripts and run them. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:exercice_particulier1  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:exercice_particulier2  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:explore_folder_produce_code_html  | | Explores a list of files, extract all pieces of code and produces html page for each latex file | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:extract_div  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:extract_span  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:extract_students_mail_and_name_from_gmail  | | Extracts mails and names from a mail box. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:extract_students_mails_from_gmail_and_stores_in_folders  | | The scenario is the following: | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:f_df  | | F dans :func:Arrow_Hurwicz | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:f_df_H  | | Fonction demandée par la fonction solvers.cp _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:file2HTML  | | Reads a file and returns the contents as a string, highlighted with :epkg:HTML styles. This function uses the ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:file_all_keywords  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:file_build_rss  | | Build a RSS file, the function keeps the blog post (HTML format) from the last month. If a post contains one the two ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:find_all_blogs_function  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:find_best_server  | | Finds existing running server. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:force_unicode  | | Deals with unicodes. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:ftp_list_modules  | | Updates the list of backuped modules assuming they are stored on a FTP website. It gets the list of wheels in a folder ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:generate_html_article  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:generate_sells  | | Generates dummy data and trends and seasonality. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_additional_paths  | | Returns a list of paths to add before running the notebooks, paths to :epkg:pyquickhelper, :epkg:pyensae, :epkg:pymmails. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_data  | | Retourne les données des rues de Paris. On suppose que les arcs sont uniques et qu'il si :math:j \rightarrow k est ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_day_name  | | returns the day name for a give date | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_elysee_speech_from_elysees  | | Retrieves the text from the :epkg:Elysees. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_file_per_folder  | | extract all folders in a folder and then all files in these folders | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_first_col  | | function related to my teachings, it tries to associate a file to a chapter of my book | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_interpreter  | | Returns the default interpreter. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_latex_contraction  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_month_name  | | returns the month name for a give date | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_node_div  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_pygame_screen_font  | | Creates a surface with :epkg:pygame, initialize the module, creates font. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_sections  | | Extracts sections from a filename used to follow a group of students. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_svg_or_gif  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_teaching_modules  | | List of teachings modules to maintain (CI + documentation). | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:get_url_latex  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:gini  | | Computes the Gini coefficients _. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:git_change_remote_origin  | | Changes the origin of the repository. The url and the password refer to the new repository. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:git_check_error  | | Private function, analyse the output. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:git_clone  | | Clones a project from a git repository in a non empty local folder, it requires GIT _ to be installed ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:git_commit_all  | | From a git repository, it requires GIT _ to be installed and uses the command line. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:git_first_commit_all_projects  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:git_url_user_password  | | Builds a url (starting with https) and add the user and the password to skip the authentification. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:google_trends  | | Returns some google trends example. See :func:ensae_teaching_cs.data.dataweb.anyfile to directly download it. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:grab_addresses  | | Looks for some emails in a mail box from specific emails or sent to specific emails. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:graph_cities  | | Plots the cities on a map with :epkg:cartopy. Only not empty names are displayed on the graph. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:graph_cities_default_lands  | | Returns the default list of elements which can be added to a map. See Features _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:graph_degree  | | calcul le degré de chaque noeud | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:graph_style  | | Changes :epkg:matplotlib style. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:graph_with_label  | | Creates a graph with :epkg:matplotlib. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:groupby_topn  | | Takes the top *n* rows per group. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:guess_language_code  | | Guess the language of a piece of code. The result can be: js, xml, html, cpp, py, sql, vba, css | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:gutenberg_name  | | Retrieves data from Gutenberg _. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:html_unescape  | | Removes :epkg:HTML or :epkg:XML character references and entities from a text string. keep &, >, ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:information_about_package  | | Calls pip show to retrieve information about packages. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:information_from_xml  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:inspect_source_code  | | Counts groups extracted from source file. We assume all selected files can be opened as text files encoded in :epkg:utf-8 ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:integrale  | | Calcule l'intégrale d'une fonction avec la méthode de Rienmann _. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:intersection_segment  | | Dit si les segments *[p1 p2]* et *[p3 p4]* ont une intersection, ne retourne pas l'intersection. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:isTemporaryFolder  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:iteration  | | Choisit une ville aléatoirement et attire le neurones le plus proche, choisit cette ville parmi les villes les moins ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:jupyter_convert_notebooks  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:jupyter_get_variable  | | Retrieves the value of a local variable in a notebook. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:jupyter_open_notebook  | | Calls :func:nb_open, open a notebook with an existing server, if no server can be found, it starts a new one (and ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:kruskal  | | Applique l'algorithme de Kruskal (ou ressemblant) pour choisir les arcs à ajouter. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:lambert93_to_WGPS  | | Converts coordinates given in Lambert 93 _ ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:last_function  | | Applies last modifications to the setup. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:list_of_installed_packages  | | calls pip list to retrieve the list of packages | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:liste_fichier_repertoire  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:load_and_modify_xml_dom  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:load_file  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:load_french_departments  | | Loads a dataframe with the list of French departments and the center of each. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:load_ipython_extension  | | Registers magics function, can be called from a notebook. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:load_irep  | | Télécharge les données du registre des émissions polluantes (IREP) _ ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:load_object  | | Charge un objet en mémoire après qu'il a été sérialisé. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:load_sentiment_dataset  | | Retourne un ensemble de phrases en anglais avec assorties d'un sentiment positif ou négatif. Source : Sentiment Labelled Sentences Data Set _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:longueur_chemin  | | Retourne la longueur d'un chemin. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:ls_notebooks  | | Lists the notebooks in a particular subfolder. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:main  | | Implements python -m ensae_teaching_cs . | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:main_codalab_wrapper  | | Adapts the template available at evaluate.py _ ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:makeBlock  | | Applies the block tags to text | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:make_video  | | Creates a video from a list of images. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:marathon  | | Time about marathons over cities and years See :func:ensae_teaching_cs.data.data1a.anyfile to directly download ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:mat2text  | | Convertit une matrice en une chaîne de caractères, réciproque de la fonction :func:text2mat. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:mat2vect  | | Convertit une matrice en un tableau à une seule dimension, réciproque de la fonction :func:vect2mat. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:meilleure_case  | | look over all empty place and pick the one with the least possible options | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:minindex  | | Retourne l'index du minimum et le minimum. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:modifie_structure  | | Modifie la structure des neurones, supprime les neurones jamais déplacés, et ajoute des neurones lorsque certains sont ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:modify_all_blogs_list_in_place  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:modify_all_posts  | | modifies, checks the syntax of every post | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:modify_header_attributes  | | the function do not modify links | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:moyenne_proximite  | | Retourne la distance moyenne entre deux villes les plus proches. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:multiplie_vecteur  | | Multiplie un vecteur par un scalaire. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:music_statistics  | | provides statistics on a folder | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:nb_open  | | Opens a notebook with an existing server, if no server can be found, it starts a new one (and the function runs ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:nombre_possible  | | tells for a particular position the list of possible number | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:normalize_folder  | | normalize the filename of a whole folder and subfolders | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:normalize_name_and_numbers  | | tries to match names and number in a file | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:notebook_path  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:numerical_simulation  | | Run a simulation, :class:EpidemicPopulation. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:numpy_matrix2list  | | Convertit une matrice numpy _ en liste. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:object_size  | | Calls getsizeof _. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:oppose_vecteur  | | retourne le vecteur opposé. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:optimisation  | | Quelques erreurs lorsqu'on cherche à optimiser avec CVXOPT _. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:pdf_read_content  | | Extracts the text from a :epkg:PDF file. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:permutation  | | Compute all permutations of set [[ 1, 2, ..., nb ]]. Example for 3: | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:poids_attirance  | | Calcule le poids d'attraction d'une neurone vers une ville. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:possible_edges  | | Construit la liste de tous les arcs possibles en filtrant sur la distance à vol d'oiseau. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:print_function  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:private_codalab_wrapper  | | Wraps the function following the guidelines User_Building a Scoring Program for a Competition _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:property_example  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:publish_documentation  | | Publishes the documentation and the setups of a python module on a webiste, it assumes the modules is organized the ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:publish_teachings_to_web  | | Copies the documentation to the website. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:putty_different_python  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:py_to_html_file  | | Converts a :epkg:python script into a html file. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:py_to_html_folder  | | Converts all :epkg:python files from a folder into html files. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:pygame_simulation  | | Simulation graphique. Simule la chute d'une corde suspendue à ces deux extrémités. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:pygame_simulation  | | Runs a graphic simulation. The user can see a :epkg:pygame screen showing the evolution of population. A healthy ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:pygame_simulation  | | Simulation graphique. Illuste la résolution du puzzle | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:pygame_simulation  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:pygame_simulation  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:pygame_simulation  | | Simulation graphique. Illuste la résolution du puzzle | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:pyopencl_status  | | Looks into GPU and CPU to see which card is available. Returns a string. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:python_path  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:racine_carree  | | retourne la racine carrée d'un nombre | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:readStyleFile  | | Read a style file and return a style dictionary. The file format is | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:read_csv  | | Calls function read_csv _ ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:recherche  | | Retourne l'index d'un élément ou -1 si non trouvé. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:recherche_dichotomique  | | Effectue une recherche dichotomique. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:regex_cases  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:removeAccent  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:removeAccent_debug  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:removeHtmlAccent  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:remove_accent  | | Replaces French accents by regular letters. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:repartition_zone  | | Répartit les villes en zones, retourne les villes rangées par zones, chaque éléments zones [z][k] contient : | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:repetition_a_eviter  | | Une répétition à éviter. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:replaceCodes  | | Helper function that does the \n and space substition returning the changed text. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:replace_file  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:replace_xml_in_template_using_dom_dirty  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:resolution_sudoku  | | Solves the Sudoku. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:retournement  | | Amélioration du chemin par un algorithme simple, utilise des retournements de taille au plus , retourne ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:retournement_essai  | | Dit s'il est judicieux de parcourir le chemin entre les sommets *i* et *j* en sens inverse, si c'est judicieux, change ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:round  | | arrondit chaque couleur | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:rss_teachings_update_run_server  | | Creates a database if it does not exists, adds a table for blogs and posts, updates the database, starts a server and ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:rst_table_modules  | | Produces a table with all modules recommended to do machine learning. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:same_variable  | | Cette fonction dit si les deux objets sont en fait le même objet (True) ou non (False) s'ils sont différents (même s'ils ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:scatter_xy_id  | | Creates a scatter plot with a different color for each zone id. The function requires :epkg:matplotlib. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:scatter_xyc  | | Draws a 2D graph (X,Y, color), the color is chosen based on a value *f(x,y)* The function requires :epkg:matplotlib ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:scatter_xyz  | | Draws a 3D graph (X, Y, Z). The function requires :epkg:matplotlib and :epkg:scipy. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:setup_jenkins_server  | | Sets up many jobs on :epkg:Jenkins. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:shutdown_server  | | to shutdown the service | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:simple_database  | | Returns a simple database. See :func:ensae_teaching_cs.data.datasql.anyfile to directly download it. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:solution  | | Parcourt toutes les configurations possibles et s'arrête à la première qui satsifait toutes les règles. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:solution  | | parcourt toutes les configurations possibles et s'arrête à la première qui satsifait toutes les règles | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:solution_correcte  | | Cette fonction reçoit un tableau de 7 cases, chaque case contient un entier compris entre 0 et 3 inclus : 0 : poison, ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:somme  | | Calcule la somme des éléments d'un tableau. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:sortable_class  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:soustrait_vecteur  | | Soustrait deux vecteurs. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:speed_dataframe  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:str2date  | | convertit une chaîne de caractères en datetime | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:stringio  | | returns a StringIO object on a text | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:substituteEntities  | | based on level setting do entity substitution and return revised. iso8859-1 ??: | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:sudoku2str  | | Converts a sudoku into a string. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:supprime_croisement  | | Supprime les croisements d'arêtes, retourne le nombre de changement effectués, *X* est le nombre de zones horizontalement, ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:test_unitaire  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:text2mat  | | Convertit une chaîne de caractères en une matrice ( = liste de listes), réciproque de la fonction :func:mat2text. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:text_replace_div_gif  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:text_replace_span_gif  | | | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:text_transform  | | If filename is *rss.xml*, replaces the string *__BLOG_ROOT__* by *self._root_web*. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:total_size  | | Returns the approximate memory footprint an object and all of its contents. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:trace_ligne_simple  | | Trace une ligne entre les points de coordonnées *(x1,y1)* et *(x2,y2)*, on suppose que *x2 > x1*, *y2 >= y1*, retourne ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:trigger_on_specific_strings  | | Looks for specific string such as *USERNAME*, *USERDNSDOMAIN*, *HOMEPATH*, *USERNAME*, *COMPUTERNAME*, *LOGONSERVER*, ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:triindex  | | Trie une liste, retourne la liste triée et les positions initiales. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:tsp_kruskal_algorithm  | | Finds the shortest path going through all points, points require to be a 2 dimensional space. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:twitter_zip  | | Returns zipped twitter. See :func:ensae_teaching_cs.data.dataweb.anyfile to directly download it. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:vect2mat  | | Convertit un tableau à une dimension en une matrice, réciproque de la fonction :func:mat2vect. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:vecteur_cosinus  | | Retourne le cosinus entre deux vecteurs, utilise le produit scalaire. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:vecteur_norme  | | Calcul la norme d'un vecteur. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:vecteur_norme  | | Retourne la norme d'un vecteur. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:vecteur_points  | | Retourne le vecteur entre les points *p1* et *p2*. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:vecteur_sinus  | | Retourne le sinus entre deux vecteurs, utilise le produit vectoriel. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:voisinage_zone  | | Retourne la liste des voisins d'une zone *z* sachant qu'il y a *X* zones sur l'axe des abscisses et *Y* zones sur ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:voisinage_zone_xy  | | Retourne la liste des voisins d'une zone *(x,y)* sachant qu'il y a *X* zones sur l'axe des abscisses et *Y* zones ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:wait_event  | | The function waits for an event, a | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:webhtml  | | Uses the module selenium _ to retrieve the html content of a website. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:webshot  | | Uses the module :epkg:selenium to take a picture of a website. If url and img are lists, the function goes ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:wines_quality  | | Datasets about wines quality. Source : Wine Quality Data Set _. ... | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:xmlParsingLongestDiv  | | Extracts the longest div section. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+