module tests.american_cities

Short summary

module ensae_teaching_cs.tests.american_cities

Function to test others functionalities

source on GitHub

Functions

function

truncated documentation

american_cities

Computes the TSP for american cities.

Documentation

Function to test others functionalities

source on GitHub

ensae_teaching_cs.tests.american_cities.american_cities(df_or_filename, nb_cities=-1, img=None, fLOG=<function fLOG>)[source]

Computes the TSP for american cities.

Paramètres
  • df_or_filename – dataframe

  • nb_cities – number of cities to keep

  • img – image to produce

  • fLOG – logging function

Renvoie

dataframe (results)

source on GitHub